#666DF2#666DF2
#666DF2 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.196 H 276.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #666DF2 |
|---|---|
| RGB | rgb(102, 109, 242) |
| HSL | hsl(237, 84%, 67%) |
| HSV | hsv(237, 58%, 95%) |
| CMYK | cmyk(57.9%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(52.03, 35.33, -67.91) |
| CIE-LCH | lch(52.03, 76.55, 297.49°) |
| OKLab | oklab(60.05% 0.0221 -0.1948) |
| OKLCH | oklch(60.05% 0.196 276.5) |
| XYZ | xyz(26.9700, 20.1709, 86.4593) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.87
Mediumslateblue
#7B68EE
ΔE00 4.05
Cornflower Blue
#5170D7
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 6.10
Dark Periwinkle
#665FD1
ΔE00 6.60
Lightish Blue
#3D7AFD
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666DF2 #F2EB66
analogous
#66B3F2 #666DF2 #A566F2
triadic
#666DF2 #F2666D #6DF266
tetradic
#666DF2 #F266B3 #F2EB66 #66F2A5
square
#666DF2 #F266B3 #F2EB66 #66F2A5
split-complementary
#666DF2 #F2A566 #B3F266
monochromatic
#111BCC #2E37ED #666DF2 #9EA3F7 #D7D9FC
Accessibility & contrast
On white
4.17
#666DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#666DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666DF2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666DF2 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #666df2; /* rgb */ color: rgb(102, 109, 242); /* oklch */ color: oklch(60.0% 0.196 276.5);
Tailwind
colors: {
custom: {
50: '#9d96f7',
500: '#666df2',
950: '#000000',
},
}SCSS
$custom: #666df2; $custom-light: #9d96f7; $custom-dark: #000000;
JSON
{
"hex": "#666df2",
"rgb": {
"r": 102,
"g": 109,
"b": 242
},
"hsl": {
"h": 237,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.60046,
"c": 0.19602,
"h": 276.5
},
"luminance": 0.20173
}Semantic roles & 50–950 ramp
primary
#666DF2
secondary
#F0EEC4
accent
#D605E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85