#6862BC#6862BC
#6862BC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.137 H 283.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6862BC |
|---|---|
| RGB | rgb(104, 98, 188) |
| HSL | hsl(244, 40%, 56%) |
| HSV | hsv(244, 48%, 74%) |
| CMYK | cmyk(44.7%, 47.9%, 0%, 26.3%) |
| CIE-LAB | lab(46.05, 25.65, -46.81) |
| CIE-LCH | lch(46.05, 53.38, 298.72°) |
| OKLab | oklab(54.51% 0.0329 -0.1328) |
| OKLCH | oklch(54.51% 0.137 283.9) |
| XYZ | xyz(19.1510, 15.3084, 49.5129) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.49
Iris
#6258C4
ΔE00 3.64
Slate Blue
#6A5ACD
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 4.18
Warm Blue
#4B57DB
ΔE00 6.98
Royal Purple
#7851A9
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6862BC #B6BC62
analogous
#6289BC #6862BC #9562BC
triadic
#6862BC #BC6862 #62BC68
tetradic
#6862BC #BC6289 #B6BC62 #62BC95
square
#6862BC #BC6289 #B6BC62 #62BC95
split-complementary
#6862BC #BC9562 #89BC62
monochromatic
#353173 #49439E #6862BC #918DCE #BBB8E1
Accessibility & contrast
On white
5.17
#6862BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#6862BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6862BC
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6862BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6862BC | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#4D7586
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6862bc; /* rgb */ color: rgb(104, 98, 188); /* oklch */ color: oklch(54.5% 0.137 283.9);
Tailwind
colors: {
custom: {
50: '#988ed1',
500: '#6862bc',
950: '#000000',
},
}SCSS
$custom: #6862bc; $custom-light: #988ed1; $custom-dark: #000000;
JSON
{
"hex": "#6862bc",
"rgb": {
"r": 104,
"g": 98,
"b": 188
},
"hsl": {
"h": 244,
"s": 40.179,
"l": 56.078
},
"oklch": {
"l": 0.54511,
"c": 0.13678,
"h": 283.9
},
"luminance": 0.15309
}Semantic roles & 50–950 ramp
primary
#6862BC
secondary
#CDCFAA
accent
#D058C8
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82