What is hex #668DFF color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 40% red, 55% green and 100% blue, resulting in rgb(102, 141, 255) and hsl(225, 100%, 70%).
For print media and manufacturing layout, the CMYK equivalent is (60%, 45%, 0%, 0%).
In the HSV/HSB scale, #668DFF features a hue of 225°, 60% saturation, and 100% brightness.
Hex #668DFF Color Codes & Conversions
| Closest Named Color | Cornflower Blue (#6495ED) |
| Hex Code | #668DFF |
| Hex8 (RGBA Hex) | #668DFFFF |
| RGB (CSS) | rgb(102, 141, 255) |
| RGBA (CSS) | rgba(102, 141, 255, 1) |
| HSL (CSS) | hsl(225, 100%, 70%) |
| HSLA (CSS) | hsla(225, 100%, 70%, 1) |
| HSV / HSB | (225°, 60%, 100%) |
| CMYK Values | (60%, 45%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(67.0% 0.174 267.4) |
| CIE-LAB (D65) | 60.86, 20.29, -60.88 |
| CIE XYZ | 33.05, 29.09, 98.46 |
| Decimal / Binary |
6721023
01100110 10001101 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #668DFF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #668DFF
Sample preview of readable typography on top of #668DFF.
Black Text on #668DFF
Sample preview of readable typography on top of #668DFF.
HTML / CSS Live Previews & Snippets for #668DFF
Preview #668DFF in real UI elements and copy ready-to-use CSS rules.
background-color: #668DFF;
color: #668DFF;
border: 2px solid #668DFF;
:root {
--color-primary: #668DFF;
--color-primary-rgb: 102, 141, 255;
--color-complementary: #FFD866;
}
.btn-accent {
background-color: #668DFF;
color: #000000;
}
Hex #668DFF Color Palettes
Complementary Palette
The complementary color of #668DFF is #FFD866. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #668DFF pairs with #66D9FF and #8B66FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #668DFF pairs with #D9FF66 and #FF8B66, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #668DFF uses #8DFF66 and #FF668D, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #668DFF combines #FF668D, #FFD866 and #66FFD8 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #668DFF pairs with #FF66D9, #FFD866 and #66FF8B spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #668DFF
Tints
Tints are created by mixing #668DFF with white, producing lighter variations.
Tones
Tones are created by mixing #668DFF with gray, softening saturation.
Shades
Shades result from mixing #668DFF with black, creating deeper variations.
Hex #668DFF in Programming & CSS Frameworks
Copy the exact syntax for #668DFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #668DFF |
| Tailwind CSS | bg-[#668DFF] text-[#668DFF] |
| Java (AWT) | new Color(102,141,255); |
| Python | Color("#668DFF") |
| .NET (C#) | Color.FromArgb(255, 102,141,255); |
| Swift / iOS | UIColor(red: 0.4, green: 0.55, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(102, 141, 255) |