#5862CB#5862CB
#5862CB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.161 H 275.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5862CB |
|---|---|
| RGB | rgb(88, 98, 203) |
| HSL | hsl(235, 53%, 57%) |
| HSV | hsv(235, 57%, 80%) |
| CMYK | cmyk(56.7%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(45.80, 26.84, -55.95) |
| CIE-LCH | lch(45.80, 62.05, 295.63°) |
| OKLab | oklab(54.32% 0.0156 -0.16) |
| OKLCH | oklch(54.32% 0.161 275.6) |
| XYZ | xyz(19.1682, 15.1205, 58.3968) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.10
Warm Blue
#4B57DB
ΔE00 4.12
Iris
#6258C4
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.65
Royal Blue
#4169E1
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5862CB #CBC158
analogous
#589BCB #5862CB #8858CB
triadic
#5862CB #CB5862 #62CB58
tetradic
#5862CB #CB589B #CBC158 #58CB88
square
#5862CB #CB589B #CBC158 #58CB88
split-complementary
#5862CB #CB8858 #9BCB58
monochromatic
#283081 #3741AF #5862CB #878EDA #B5BAE8
Accessibility & contrast
On white
5.22
#5862CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#5862CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5862CB
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5862CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5862CB | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#137A8D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5862cb; /* rgb */ color: rgb(88, 98, 203); /* oklch */ color: oklch(54.3% 0.161 275.6);
Tailwind
colors: {
custom: {
50: '#908edb',
500: '#5862cb',
950: '#000000',
},
}SCSS
$custom: #5862cb; $custom-light: #908edb; $custom-dark: #000000;
JSON
{
"hex": "#5862cb",
"rgb": {
"r": 88,
"g": 98,
"b": 203
},
"hsl": {
"h": 234.783,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.54317,
"c": 0.16079,
"h": 275.6
},
"luminance": 0.15122
}Semantic roles & 50–950 ramp
primary
#5862CB
secondary
#D7D3A8
accent
#CF4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83