#6662F3#6662F3
#6662F3 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.2% C 0.211 H 278.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6662F3 |
|---|---|
| RGB | rgb(102, 98, 243) |
| HSL | hsl(242, 86%, 67%) |
| HSV | hsv(242, 60%, 95%) |
| CMYK | cmyk(58%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(49.53, 42.19, -72.52) |
| CIE-LCH | lch(49.53, 83.90, 300.19°) |
| OKLab | oklab(58.22% 0.0323 -0.2084) |
| OKLCH | oklch(58.22% 0.211 278.8) |
| XYZ | xyz(26.0197, 18.0294, 86.8855) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 5.82
Slate Blue
#6A5ACD
ΔE00 5.98
Warm Blue
#4B57DB
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6662F3 #EFF362
analogous
#62A7F3 #6662F3 #AF62F3
triadic
#6662F3 #F36662 #62F366
tetradic
#6662F3 #F362A7 #EFF362 #62F3AF
square
#6662F3 #F362A7 #EFF362 #62F3AF
split-complementary
#6662F3 #F3AF62 #A7F362
monochromatic
#1510CB #2F29EF #6662F3 #9D9BF7 #D5D4FC
Accessibility & contrast
On white
4.56
#6662F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#6662F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6662F3
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6662F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6662F3 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #6662f3; /* rgb */ color: rgb(102, 98, 243); /* oklch */ color: oklch(58.2% 0.211 278.8);
Tailwind
colors: {
custom: {
50: '#9e8ff8',
500: '#6662f3',
950: '#000000',
},
}SCSS
$custom: #6662f3; $custom-light: #9e8ff8; $custom-dark: #000000;
JSON
{
"hex": "#6662f3",
"rgb": {
"r": 102,
"g": 98,
"b": 243
},
"hsl": {
"h": 241.655,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.58218,
"c": 0.21091,
"h": 278.8
},
"luminance": 0.18031
}Semantic roles & 50–950 ramp
primary
#6662F3
secondary
#EEF0C1
accent
#E203DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85