#6866D4#6866D4
#6866D4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.165 H 280.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #6866D4 |
|---|---|
| RGB | rgb(104, 102, 212) |
| HSL | hsl(241, 56%, 62%) |
| HSV | hsv(241, 52%, 83%) |
| CMYK | cmyk(50.9%, 51.9%, 0%, 16.9%) |
| CIE-LAB | lab(48.51, 30.52, -56.68) |
| CIE-LCH | lch(48.51, 64.37, 298.30°) |
| OKLab | oklab(56.83% 0.0303 -0.1617) |
| OKLCH | oklch(56.83% 0.165 280.6) |
| XYZ | xyz(22.3403, 17.1980, 64.4170) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.19
Mediumslateblue
#7B68EE
ΔE00 5.06
Iris
#6258C4
ΔE00 5.07
Warm Blue
#4B57DB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6866D4 #D2D466
analogous
#669BD4 #6866D4 #9F66D4
triadic
#6866D4 #D46866 #66D468
tetradic
#6866D4 #D4669B #D2D466 #66D49F
square
#6866D4 #D4669B #D2D466 #66D49F
split-complementary
#6866D4 #D49F66 #9BD466
monochromatic
#2C2A96 #3A37C5 #6866D4 #9796E1 #C6C6EF
Accessibility & contrast
On white
4.73
#6866D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#6866D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6866D4
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6866D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6866D4 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D77D8
Deuteranopia (green-blind)
#216FD2
Tritanopia (blue-blind)
#3C7E93
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6866d4; /* rgb */ color: rgb(104, 102, 212); /* oklch */ color: oklch(56.8% 0.165 280.6);
Tailwind
colors: {
custom: {
50: '#9a91e2',
500: '#6866d4',
950: '#000000',
},
}SCSS
$custom: #6866d4; $custom-light: #9a91e2; $custom-dark: #000000;
JSON
{
"hex": "#6866d4",
"rgb": {
"r": 104,
"g": 102,
"b": 212
},
"hsl": {
"h": 241.091,
"s": 56.122,
"l": 61.569
},
"oklch": {
"l": 0.56825,
"c": 0.16454,
"h": 280.6
},
"luminance": 0.17199
}Semantic roles & 50–950 ramp
primary
#6866D4
secondary
#DFDFB6
accent
#C422C1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0D15
muted
#7E7D83