#6C6FE6#6C6FE6
#6C6FE6 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.176 H 278.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6C6FE6 |
|---|---|
| RGB | rgb(108, 111, 230) |
| HSL | hsl(239, 71%, 66%) |
| HSV | hsv(239, 53%, 90%) |
| CMYK | cmyk(53%, 51.7%, 0%, 9.8%) |
| CIE-LAB | lab(52.14, 31.48, -61.00) |
| CIE-LCH | lch(52.14, 68.64, 297.30°) |
| OKLab | oklab(59.98% 0.0263 -0.1743) |
| OKLCH | oklch(59.98% 0.176 278.6) |
| XYZ | xyz(26.1472, 20.2686, 77.3820) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.83
Cornflower
#6A79F7
ΔE00 4.04
Cornflower Blue
#5170D7
ΔE00 5.43
Dark Periwinkle
#665FD1
ΔE00 6.11
Royal Blue
#4169E1
ΔE00 6.53
Light Indigo
#6D5ACF
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C6FE6 #E6E36C
analogous
#6CACE6 #6C6FE6 #A66CE6
triadic
#6C6FE6 #E66C6F #6FE66C
tetradic
#6C6FE6 #E66CAC #E6E36C #6CE6A6
square
#6C6FE6 #E66CAC #E6E36C #6CE6A6
split-complementary
#6C6FE6 #E6A66C #ACE66C
monochromatic
#1F23B8 #383CDD #6C6FE6 #A0A2EF #D5D5F8
Accessibility & contrast
On white
4.16
#6C6FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#6C6FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6C6FE6
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C6FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6C6FE6 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F81EA
Deuteranopia (green-blind)
#1C78E3
Tritanopia (blue-blind)
#348AA0
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #6c6fe6; /* rgb */ color: rgb(108, 111, 230); /* oklch */ color: oklch(60.0% 0.176 278.6);
Tailwind
colors: {
custom: {
50: '#9f98ef',
500: '#6c6fe6',
950: '#000000',
},
}SCSS
$custom: #6c6fe6; $custom-light: #9f98ef; $custom-dark: #000000;
JSON
{
"hex": "#6c6fe6",
"rgb": {
"r": 108,
"g": 111,
"b": 230
},
"hsl": {
"h": 238.525,
"s": 70.93,
"l": 66.275
},
"oklch": {
"l": 0.59983,
"c": 0.17624,
"h": 278.6
},
"luminance": 0.2027
}Semantic roles & 50–950 ramp
primary
#6C6FE6
secondary
#EBEAC3
accent
#CE13D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84