#6866F2#6866F2
#6866F2 is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 59.0% C 0.204 H 278.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6866F2 |
|---|---|
| RGB | rgb(104, 102, 242) |
| HSL | hsl(241, 84%, 67%) |
| HSV | hsv(241, 58%, 95%) |
| CMYK | cmyk(57%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(50.52, 39.86, -70.36) |
| CIE-LCH | lch(50.52, 80.86, 299.53°) |
| OKLab | oklab(58.96% 0.031 -0.202) |
| OKLCH | oklch(58.96% 0.204 278.7) |
| XYZ | xyz(26.4822, 18.8548, 86.2310) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.14
Dark Periwinkle
#665FD1
ΔE00 5.19
Cornflower
#6A79F7
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.42
Slate Blue
#6A5ACD
ΔE00 6.58
Royal Blue
#4169E1
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6866F2 #F0F266
analogous
#66AAF2 #6866F2 #AE66F2
triadic
#6866F2 #F26866 #66F268
tetradic
#6866F2 #F266AA #F0F266 #66F2AE
square
#6866F2 #F266AA #F0F266 #66F2AE
split-complementary
#6866F2 #F2AE66 #AAF266
monochromatic
#1411CC #302EED #6866F2 #A09EF7 #D7D7FC
Accessibility & contrast
On white
4.40
#6866F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#6866F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6866F2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6866F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6866F2 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#0F87A2
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #6866f2; /* rgb */ color: rgb(104, 102, 242); /* oklch */ color: oklch(59.0% 0.204 278.7);
Tailwind
colors: {
custom: {
50: '#9f92f7',
500: '#6866f2',
950: '#000000',
},
}SCSS
$custom: #6866f2; $custom-light: #9f92f7; $custom-dark: #000000;
JSON
{
"hex": "#6866f2",
"rgb": {
"r": 104,
"g": 102,
"b": 242
},
"hsl": {
"h": 240.857,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.58958,
"c": 0.20434,
"h": 278.7
},
"luminance": 0.18857
}Semantic roles & 50–950 ramp
primary
#6866F2
secondary
#EFF0C4
accent
#E105DE
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85