#5762DC#5762DC
#5762DC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.184 H 274.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5762DC |
|---|---|
| RGB | rgb(87, 98, 220) |
| HSL | hsl(235, 66%, 60%) |
| HSV | hsv(235, 60%, 86%) |
| CMYK | cmyk(60.5%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.88, 32.26, -63.92) |
| CIE-LCH | lch(46.88, 71.59, 296.78°) |
| OKLab | oklab(55.47% 0.0154 -0.1835) |
| OKLCH | oklch(55.47% 0.184 274.8) |
| XYZ | xyz(21.2122, 15.9272, 69.6527) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.20
Warm Blue
#4B57DB
ΔE00 3.60
Royal Blue
#4169E1
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.94
Azul
#1D5DEC
ΔE00 5.12
Light Indigo
#6D5ACF
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5762DC #DCD157
analogous
#57A4DC #5762DC #8F57DC
triadic
#5762DC #DC5762 #62DC57
tetradic
#5762DC #DC57A4 #DCD157 #57DC8F
square
#5762DC #DC57A4 #DCD157 #57DC8F
split-complementary
#5762DC #DC8F57 #A4DC57
monochromatic
#202A99 #2A38CB #5762DC #8A91E7 #BCC1F1
Accessibility & contrast
On white
5.02
#5762DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5762DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5762DC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5762DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5762DC | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 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: #5762dc; /* rgb */ color: rgb(87, 98, 220); /* oklch */ color: oklch(55.5% 0.184 274.8);
Tailwind
colors: {
custom: {
50: '#938ee8',
500: '#5762dc',
950: '#000000',
},
}SCSS
$custom: #5762dc; $custom-light: #938ee8; $custom-dark: #000000;
JSON
{
"hex": "#5762dc",
"rgb": {
"r": 87,
"g": 98,
"b": 220
},
"hsl": {
"h": 235.038,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.55474,
"c": 0.18414,
"h": 274.8
},
"luminance": 0.15929
}Semantic roles & 50–950 ramp
primary
#5762DC
secondary
#E1DDAE
accent
#BE18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84