#6862CF#6862CF
#6862CF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.163 H 282.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6862CF |
|---|---|
| RGB | rgb(104, 98, 207) |
| HSL | hsl(243, 53%, 60%) |
| HSV | hsv(243, 53%, 81%) |
| CMYK | cmyk(49.8%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.21, 31.40, -55.90) |
| CIE-LCH | lch(47.21, 64.12, 299.33°) |
| OKLab | oklab(55.75% 0.0345 -0.1595) |
| OKLCH | oklch(55.75% 0.163 282.2) |
| XYZ | xyz(21.3357, 16.1823, 61.0187) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.03
Slate Blue
#6A5ACD
ΔE00 2.67
Light Indigo
#6D5ACF
ΔE00 2.84
Iris
#6258C4
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 5.35
Mediumslateblue
#7B68EE
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6862CF #C9CF62
analogous
#6292CF #6862CF #9F62CF
triadic
#6862CF #CF6862 #62CF68
tetradic
#6862CF #CF6292 #C9CF62 #62CF9F
square
#6862CF #CF6292 #C9CF62 #62CF9F
split-complementary
#6862CF #CF9F62 #92CF62
monochromatic
#302B8C #4039BB #6862CF #9591DD #C2C0EC
Accessibility & contrast
On white
4.96
#6862CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#6862CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6862CF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6862CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6862CF | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#1F6CCD
Tritanopia (blue-blind)
#417A8F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #6862cf; /* rgb */ color: rgb(104, 98, 207); /* oklch */ color: oklch(55.8% 0.163 282.2);
Tailwind
colors: {
custom: {
50: '#9a8ede',
500: '#6862cf',
950: '#000000',
},
}SCSS
$custom: #6862cf; $custom-light: #9a8ede; $custom-dark: #000000;
JSON
{
"hex": "#6862cf",
"rgb": {
"r": 104,
"g": 98,
"b": 207
},
"hsl": {
"h": 243.303,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.55754,
"c": 0.16316,
"h": 282.2
},
"luminance": 0.16183
}Semantic roles & 50–950 ramp
primary
#6862CF
secondary
#D9DBB1
accent
#DD4BD5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83