#6862BF#6862BF
#6862BF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.141 H 283.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6862BF |
|---|---|
| RGB | rgb(104, 98, 191) |
| HSL | hsl(244, 42%, 57%) |
| HSV | hsv(244, 49%, 75%) |
| CMYK | cmyk(45.5%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(46.23, 26.55, -48.27) |
| CIE-LCH | lch(46.23, 55.09, 298.82°) |
| OKLab | oklab(54.7% 0.0332 -0.137) |
| OKLCH | oklch(54.7% 0.141 283.6) |
| XYZ | xyz(19.4778, 15.4391, 51.2339) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.01
Iris
#6258C4
ΔE00 3.44
Slate Blue
#6A5ACD
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 3.82
Warm Blue
#4B57DB
ΔE00 6.63
Mediumslateblue
#7B68EE
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6862BF #B9BF62
analogous
#628BBF #6862BF #9762BF
triadic
#6862BF #BF6862 #62BF68
tetradic
#6862BF #BF628B #B9BF62 #62BF97
square
#6862BF #BF628B #B9BF62 #62BF97
split-complementary
#6862BF #BF9762 #8BBF62
monochromatic
#353076 #4842A2 #6862BF #928DD1 #BCB9E2
Accessibility & contrast
On white
5.14
#6862BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#6862BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6862BF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6862BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6862BF | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A71C2
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#4B7687
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6862bf; /* rgb */ color: rgb(104, 98, 191); /* oklch */ color: oklch(54.7% 0.141 283.6);
Tailwind
colors: {
custom: {
50: '#988ed3',
500: '#6862bf',
950: '#000000',
},
}SCSS
$custom: #6862bf; $custom-light: #988ed3; $custom-dark: #000000;
JSON
{
"hex": "#6862bf",
"rgb": {
"r": 104,
"g": 98,
"b": 191
},
"hsl": {
"h": 243.871,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.54701,
"c": 0.14101,
"h": 283.6
},
"luminance": 0.1544
}Semantic roles & 50–950 ramp
primary
#6862BF
secondary
#CFD1AB
accent
#D256CA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83