#6864CF#6864CF
#6864CF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.160 H 281.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6864CF |
|---|---|
| RGB | rgb(104, 100, 207) |
| HSL | hsl(242, 53%, 60%) |
| HSV | hsv(242, 52%, 81%) |
| CMYK | cmyk(49.8%, 51.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.70, 30.19, -55.12) |
| CIE-LCH | lch(47.70, 62.84, 298.71°) |
| OKLab | oklab(56.12% 0.0322 -0.1572) |
| OKLCH | oklch(56.12% 0.16 281.6) |
| XYZ | xyz(21.5252, 16.5612, 61.0818) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.64
Slate Blue
#6A5ACD
ΔE00 3.33
Light Indigo
#6D5ACF
ΔE00 3.48
Iris
#6258C4
ΔE00 4.17
Warm Blue
#4B57DB
ΔE00 5.70
Mediumslateblue
#7B68EE
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6864CF #CBCF64
analogous
#6495CF #6864CF #9D64CF
triadic
#6864CF #CF6864 #64CF68
tetradic
#6864CF #CF6495 #CBCF64 #64CF9D
square
#6864CF #CF6495 #CBCF64 #64CF9D
split-complementary
#6864CF #CF9D64 #95CF64
monochromatic
#2F2C8D #3F3ABC #6864CF #9693DD #C3C1EC
Accessibility & contrast
On white
4.87
#6864CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#6864CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6864CF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6864CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6864CF | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#256DCD
Tritanopia (blue-blind)
#417C90
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6864cf; /* rgb */ color: rgb(104, 100, 207); /* oklch */ color: oklch(56.1% 0.160 281.6);
Tailwind
colors: {
custom: {
50: '#9a90de',
500: '#6864cf',
950: '#000000',
},
}SCSS
$custom: #6864cf; $custom-light: #9a90de; $custom-dark: #000000;
JSON
{
"hex": "#6864cf",
"rgb": {
"r": 104,
"g": 100,
"b": 207
},
"hsl": {
"h": 242.243,
"s": 52.709,
"l": 60.196
},
"oklch": {
"l": 0.5612,
"c": 0.16043,
"h": 281.6
},
"luminance": 0.16562
}Semantic roles & 50–950 ramp
primary
#6864CF
secondary
#DADCB3
accent
#C025BA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83