#6864CB#6864CB
#6864CB is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.155 H 281.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6864CB |
|---|---|
| RGB | rgb(104, 100, 203) |
| HSL | hsl(242, 50%, 59%) |
| HSV | hsv(242, 51%, 80%) |
| CMYK | cmyk(48.8%, 50.7%, 0%, 20.4%) |
| CIE-LAB | lab(47.45, 28.97, -53.22) |
| CIE-LCH | lch(47.45, 60.60, 298.56°) |
| OKLab | oklab(55.85% 0.0319 -0.1516) |
| OKLCH | oklch(55.85% 0.155 281.9) |
| XYZ | xyz(21.0423, 16.3681, 58.5389) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.86
Slate Blue
#6A5ACD
ΔE00 3.34
Light Indigo
#6D5ACF
ΔE00 3.54
Iris
#6258C4
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 5.91
Mediumslateblue
#7B68EE
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6864CB #C7CB64
analogous
#6494CB #6864CB #9C64CB
triadic
#6864CB #CB6864 #64CB68
tetradic
#6864CB #CB6494 #C7CB64 #64CB9C
square
#6864CB #CB6494 #C7CB64 #64CB9C
split-complementary
#6864CB #CB9C64 #94CB64
monochromatic
#312D87 #413DB5 #6864CB #9592DA #C1C0EA
Accessibility & contrast
On white
4.91
#6864CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#6864CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6864CB
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6864CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6864CB | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#447A8E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6864cb; /* rgb */ color: rgb(104, 100, 203); /* oklch */ color: oklch(55.9% 0.155 281.9);
Tailwind
colors: {
custom: {
50: '#9990db',
500: '#6864cb',
950: '#000000',
},
}SCSS
$custom: #6864cb; $custom-light: #9990db; $custom-dark: #000000;
JSON
{
"hex": "#6864cb",
"rgb": {
"r": 104,
"g": 100,
"b": 203
},
"hsl": {
"h": 242.33,
"s": 49.758,
"l": 59.412
},
"oklch": {
"l": 0.55854,
"c": 0.15491,
"h": 281.9
},
"luminance": 0.16369
}Semantic roles & 50–950 ramp
primary
#6864CB
secondary
#D8D9B1
accent
#D94FD4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83