#6C66EB#6C66EB
#6C66EB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.7% C 0.195 H 280.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6C66EB |
|---|---|
| RGB | rgb(108, 102, 235) |
| HSL | hsl(243, 77%, 66%) |
| HSV | hsv(243, 57%, 92%) |
| CMYK | cmyk(54%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(50.32, 38.41, -66.74) |
| CIE-LCH | lch(50.32, 77.01, 299.92°) |
| OKLab | oklab(58.73% 0.0357 -0.1912) |
| OKLCH | oklch(58.73% 0.195 280.6) |
| XYZ | xyz(25.9264, 18.6874, 80.8220) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.64
Dark Periwinkle
#665FD1
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 5.63
Slate Blue
#6A5ACD
ΔE00 5.82
Cornflower
#6A79F7
ΔE00 6.42
Purpley
#8756E4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C66EB #E5EB66
analogous
#66A2EB #6C66EB #AE66EB
triadic
#6C66EB #EB6C66 #66EB6C
tetradic
#6C66EB #EB66A2 #E5EB66 #66EBAE
square
#6C66EB #EB66A2 #E5EB66 #66EBAE
split-complementary
#6C66EB #EBAE66 #A2EB66
monochromatic
#2019BE #3830E4 #6C66EB #A09CF2 #D4D2F9
Accessibility & contrast
On white
4.43
#6C66EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#6C66EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6C66EB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C66EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6C66EB | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#30859F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #6c66eb; /* rgb */ color: rgb(108, 102, 235); /* oklch */ color: oklch(58.7% 0.195 280.6);
Tailwind
colors: {
custom: {
50: '#a092f2',
500: '#6c66eb',
950: '#000000',
},
}SCSS
$custom: #6c66eb; $custom-light: #a092f2; $custom-dark: #000000;
JSON
{
"hex": "#6c66eb",
"rgb": {
"r": 108,
"g": 102,
"b": 235
},
"hsl": {
"h": 242.707,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.58731,
"c": 0.19454,
"h": 280.6
},
"luminance": 0.18689
}Semantic roles & 50–950 ramp
primary
#6C66EB
secondary
#EAECC1
accent
#D90CD0
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85