#6A6CFC#6A6CFC
#6A6CFC is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 60.9% C 0.209 H 277.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6A6CFC |
|---|---|
| RGB | rgb(106, 108, 252) |
| HSL | hsl(239, 96%, 70%) |
| HSV | hsv(239, 58%, 99%) |
| CMYK | cmyk(57.9%, 57.1%, 0%, 1.2%) |
| CIE-LAB | lab(52.75, 39.79, -72.29) |
| CIE-LCH | lch(52.75, 82.52, 298.83°) |
| OKLab | oklab(60.87% 0.0276 -0.2076) |
| OKLCH | oklch(60.87% 0.209 277.6) |
| XYZ | xyz(28.8715, 20.8155, 94.5730) |
| Luminance | 0.2082 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.59
Cornflower
#6A79F7
ΔE00 4.12
Cornflower Blue
#5170D7
ΔE00 7.07
Royal Blue
#4169E1
ΔE00 7.36
Dark Periwinkle
#665FD1
ΔE00 7.42
Periwinkle (survey)
#8E82FE
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A6CFC #FCFA6A
analogous
#6AB5FC #6A6CFC #B16AFC
triadic
#6A6CFC #FC6A6C #6CFC6A
tetradic
#6A6CFC #FC6AB5 #FCFA6A #6AFCB1
square
#6A6CFC #FC6AB5 #FCFA6A #6AFCB1
split-complementary
#6A6CFC #FCB16A #B5FC6A
monochromatic
#0508E7 #2E31FB #6A6CFC #A6A7FD #E1E1FE
Accessibility & contrast
On white
4.07
#6A6CFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#6A6CFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A6CFC
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A6CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A6CFC | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#008EAA
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #6a6cfc; /* rgb */ color: rgb(106, 108, 252); /* oklch */ color: oklch(60.9% 0.209 277.6);
Tailwind
colors: {
custom: {
50: '#a196fe',
500: '#6a6cfc',
950: '#000000',
},
}SCSS
$custom: #6a6cfc; $custom-light: #a196fe; $custom-dark: #000000;
JSON
{
"hex": "#6a6cfc",
"rgb": {
"r": 106,
"g": 108,
"b": 252
},
"hsl": {
"h": 239.178,
"s": 96.053,
"l": 70.196
},
"oklch": {
"l": 0.60865,
"c": 0.20941,
"h": 277.6
},
"luminance": 0.20818
}Semantic roles & 50–950 ramp
primary
#6A6CFC
secondary
#F5F5CD
accent
#E200E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86