#5762CD#5762CD
#5762CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.164 H 275.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5762CD |
|---|---|
| RGB | rgb(87, 98, 205) |
| HSL | hsl(234, 54%, 57%) |
| HSV | hsv(234, 58%, 80%) |
| CMYK | cmyk(57.6%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.86, 27.30, -56.99) |
| CIE-LCH | lch(45.86, 63.20, 295.60°) |
| OKLab | oklab(54.39% 0.0147 -0.1631) |
| OKLCH | oklch(54.39% 0.164 275.1) |
| XYZ | xyz(19.3140, 15.1680, 59.6557) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.16
Warm Blue
#4B57DB
ΔE00 3.96
Iris
#6258C4
ΔE00 4.42
Slate Blue
#6A5ACD
ΔE00 4.76
Royal Blue
#4169E1
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5762CD #CDC257
analogous
#579DCD #5762CD #8757CD
triadic
#5762CD #CD5762 #62CD57
tetradic
#5762CD #CD579D #CDC257 #57CD87
square
#5762CD #CD579D #CDC257 #57CD87
split-complementary
#5762CD #CD8757 #9DCD57
monochromatic
#272F83 #3541B2 #5762CD #868EDB #B5BAE9
Accessibility & contrast
On white
5.21
#5762CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5762CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5762CD
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5762CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5762CD | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#0368CB
Tritanopia (blue-blind)
#047A8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5762cd; /* rgb */ color: rgb(87, 98, 205); /* oklch */ color: oklch(54.4% 0.164 275.1);
Tailwind
colors: {
custom: {
50: '#908edd',
500: '#5762cd',
950: '#000000',
},
}SCSS
$custom: #5762cd; $custom-light: #908edd; $custom-dark: #000000;
JSON
{
"hex": "#5762cd",
"rgb": {
"r": 87,
"g": 98,
"b": 205
},
"hsl": {
"h": 234.407,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.5439,
"c": 0.16379,
"h": 275.1
},
"luminance": 0.15169
}Semantic roles & 50–950 ramp
primary
#5762CD
secondary
#D8D3A8
accent
#D04ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83