#5862BA#5862BA
#5862BA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.137 H 275.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5862BA |
|---|---|
| RGB | rgb(88, 98, 186) |
| HSL | hsl(234, 42%, 54%) |
| HSV | hsv(234, 53%, 73%) |
| CMYK | cmyk(52.7%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(44.74, 21.30, -47.82) |
| CIE-LCH | lch(44.74, 52.35, 294.01°) |
| OKLab | oklab(53.17% 0.0139 -0.1361) |
| OKLCH | oklch(53.17% 0.137 275.8) |
| XYZ | xyz(17.2523, 14.3541, 48.3064) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 4.67
Slate Blue
#6A5ACD
ΔE00 5.68
Warm Blue
#4B57DB
ΔE00 5.85
Light Indigo
#6D5ACF
ΔE00 6.21
Dusky Blue
#475F94
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5862BA #BAB058
analogous
#5893BA #5862BA #7F58BA
triadic
#5862BA #BA5862 #62BA58
tetradic
#5862BA #BA5893 #BAB058 #58BA7F
square
#5862BA #BA5893 #BAB058 #58BA7F
split-complementary
#5862BA #BA7F58 #93BA58
monochromatic
#2C336B #3E4797 #5862BA #838BCC #AFB3DE
Accessibility & contrast
On white
5.42
#5862BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5862BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5862BA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5862BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5862BA | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#2C7585
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5862ba; /* rgb */ color: rgb(88, 98, 186); /* oklch */ color: oklch(53.2% 0.137 275.8);
Tailwind
colors: {
custom: {
50: '#8e8ecf',
500: '#5862ba',
950: '#000000',
},
}SCSS
$custom: #5862ba; $custom-light: #8e8ecf; $custom-dark: #000000;
JSON
{
"hex": "#5862ba",
"rgb": {
"r": 88,
"g": 98,
"b": 186
},
"hsl": {
"h": 233.878,
"s": 41.525,
"l": 53.725
},
"oklch": {
"l": 0.53173,
"c": 0.13685,
"h": 275.8
},
"luminance": 0.14355
}Semantic roles & 50–950 ramp
primary
#5862BA
secondary
#CCC8A2
accent
#C556D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82