#5862CD#5862CD
#5862CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.164 H 275.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5862CD |
|---|---|
| RGB | rgb(88, 98, 205) |
| HSL | hsl(235, 54%, 57%) |
| HSV | hsv(235, 57%, 80%) |
| CMYK | cmyk(57.1%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.93, 27.50, -56.88) |
| CIE-LCH | lch(45.93, 63.18, 295.80°) |
| OKLab | oklab(54.46% 0.0158 -0.1628) |
| OKLCH | oklch(54.46% 0.164 275.5) |
| XYZ | xyz(19.4081, 15.2165, 59.6601) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.00
Warm Blue
#4B57DB
ΔE00 3.99
Iris
#6258C4
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.61
Royal Blue
#4169E1
ΔE00 4.89
Light Indigo
#6D5ACF
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5862CD #CDC358
analogous
#589CCD #5862CD #8958CD
triadic
#5862CD #CD5862 #62CD58
tetradic
#5862CD #CD589C #CDC358 #58CD89
square
#5862CD #CD589C #CDC358 #58CD89
split-complementary
#5862CD #CD8958 #9CCD58
monochromatic
#272F83 #3540B2 #5862CD #878EDB #B6BBE9
Accessibility & contrast
On white
5.19
#5862CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5862CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5862CD
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5862CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5862CD | 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)
#2572D1
Deuteranopia (green-blind)
#0668CB
Tritanopia (blue-blind)
#0D7A8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5862cd; /* rgb */ color: rgb(88, 98, 205); /* oklch */ color: oklch(54.5% 0.164 275.5);
Tailwind
colors: {
custom: {
50: '#918edd',
500: '#5862cd',
950: '#000000',
},
}SCSS
$custom: #5862cd; $custom-light: #918edd; $custom-dark: #000000;
JSON
{
"hex": "#5862cd",
"rgb": {
"r": 88,
"g": 98,
"b": 205
},
"hsl": {
"h": 234.872,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.54457,
"c": 0.16355,
"h": 275.5
},
"luminance": 0.15218
}Semantic roles & 50–950 ramp
primary
#5862CD
secondary
#D8D4A9
accent
#D14BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83