#5862DC#5862DC
#5862DC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.184 H 275.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5862DC |
|---|---|
| RGB | rgb(88, 98, 220) |
| HSL | hsl(235, 65%, 60%) |
| HSV | hsv(235, 60%, 86%) |
| CMYK | cmyk(60%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.94, 32.43, -63.81) |
| CIE-LCH | lch(46.94, 71.58, 296.94°) |
| OKLab | oklab(55.54% 0.0165 -0.1832) |
| OKLCH | oklch(55.54% 0.184 275.1) |
| XYZ | xyz(21.3062, 15.9757, 69.6571) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.07
Warm Blue
#4B57DB
ΔE00 3.65
Royal Blue
#4169E1
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.10
Iris
#6258C4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5862DC #DCD258
analogous
#58A4DC #5862DC #9058DC
triadic
#5862DC #DC5862 #62DC58
tetradic
#5862DC #DC58A4 #DCD258 #58DC90
square
#5862DC #DC58A4 #DCD258 #58DC90
split-complementary
#5862DC #DC9058 #A4DC58
monochromatic
#202999 #2B37CC #5862DC #8B92E7 #BDC1F1
Accessibility & contrast
On white
5.01
#5862DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5862DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5862DC
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5862DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5862DC | 1.00 | 5.01 | 4.20 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5862dc; /* rgb */ color: rgb(88, 98, 220); /* oklch */ color: oklch(55.5% 0.184 275.1);
Tailwind
colors: {
custom: {
50: '#938ee8',
500: '#5862dc',
950: '#000000',
},
}SCSS
$custom: #5862dc; $custom-light: #938ee8; $custom-dark: #000000;
JSON
{
"hex": "#5862dc",
"rgb": {
"r": 88,
"g": 98,
"b": 220
},
"hsl": {
"h": 235.455,
"s": 65.347,
"l": 60.392
},
"oklch": {
"l": 0.55538,
"c": 0.18391,
"h": 275.1
},
"luminance": 0.15977
}Semantic roles & 50–950 ramp
primary
#5862DC
secondary
#E1DDAF
accent
#BF18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84