#6862BB#6862BB
#6862BB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.135 H 284.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6862BB |
|---|---|
| RGB | rgb(104, 98, 187) |
| HSL | hsl(244, 40%, 56%) |
| HSV | hsv(244, 48%, 73%) |
| CMYK | cmyk(44.4%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(46.00, 25.35, -46.32) |
| CIE-LCH | lch(46.00, 52.81, 298.69°) |
| OKLab | oklab(54.45% 0.0328 -0.1313) |
| OKLCH | oklch(54.45% 0.135 284) |
| XYZ | xyz(19.0436, 15.2655, 48.9472) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.66
Iris
#6258C4
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.30
Warm Blue
#4B57DB
ΔE00 7.10
Royal Purple
#7851A9
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6862BB #B5BB62
analogous
#6288BB #6862BB #9462BB
triadic
#6862BB #BB6862 #62BB68
tetradic
#6862BB #BB6288 #B5BB62 #62BB94
square
#6862BB #BB6288 #B5BB62 #62BB94
split-complementary
#6862BB #BB9462 #88BB62
monochromatic
#353171 #4A449C #6862BB #918DCD #BAB7E0
Accessibility & contrast
On white
5.18
#6862BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#6862BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6862BB
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6862BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6862BB | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#4E7485
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6862bb; /* rgb */ color: rgb(104, 98, 187); /* oklch */ color: oklch(54.4% 0.135 284.0);
Tailwind
colors: {
custom: {
50: '#988ed0',
500: '#6862bb',
950: '#000000',
},
}SCSS
$custom: #6862bb; $custom-light: #988ed0; $custom-dark: #000000;
JSON
{
"hex": "#6862bb",
"rgb": {
"r": 104,
"g": 98,
"b": 187
},
"hsl": {
"h": 244.045,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.54448,
"c": 0.13536,
"h": 284
},
"luminance": 0.15266
}Semantic roles & 50–950 ramp
primary
#6862BB
secondary
#CCCFAA
accent
#CF58C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82