#6862BA#6862BA
#6862BA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.134 H 284.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6862BA |
|---|---|
| RGB | rgb(104, 98, 186) |
| HSL | hsl(244, 39%, 56%) |
| HSV | hsv(244, 47%, 73%) |
| CMYK | cmyk(44.1%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(45.94, 25.06, -45.83) |
| CIE-LCH | lch(45.94, 52.23, 298.67°) |
| OKLab | oklab(54.39% 0.0326 -0.1299) |
| OKLCH | oklch(54.39% 0.134 284.1) |
| XYZ | xyz(18.9369, 15.2228, 48.3854) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 3.83
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.43
Warm Blue
#4B57DB
ΔE00 7.23
Royal Purple
#7851A9
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6862BA #B4BA62
analogous
#6288BA #6862BA #9462BA
triadic
#6862BA #BA6862 #62BA68
tetradic
#6862BA #BA6288 #B4BA62 #62BA94
square
#6862BA #BA6288 #B4BA62 #62BA94
split-complementary
#6862BA #BA9462 #88BA62
monochromatic
#363170 #4A449B #6862BA #918DCD #BAB7DF
Accessibility & contrast
On white
5.19
#6862BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#6862BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6862BA
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6862BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6862BA | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#4E7485
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6862ba; /* rgb */ color: rgb(104, 98, 186); /* oklch */ color: oklch(54.4% 0.134 284.1);
Tailwind
colors: {
custom: {
50: '#988ecf',
500: '#6862ba',
950: '#000000',
},
}SCSS
$custom: #6862ba; $custom-light: #988ecf; $custom-dark: #000000;
JSON
{
"hex": "#6862ba",
"rgb": {
"r": 104,
"g": 98,
"b": 186
},
"hsl": {
"h": 244.091,
"s": 38.938,
"l": 55.686
},
"oklch": {
"l": 0.54386,
"c": 0.13394,
"h": 284.1
},
"luminance": 0.15224
}Semantic roles & 50–950 ramp
primary
#6862BA
secondary
#CCCEAA
accent
#CF59C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82