#5762CA#5762CA
#5762CA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.160 H 275.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5762CA |
|---|---|
| RGB | rgb(87, 98, 202) |
| HSL | hsl(234, 52%, 57%) |
| HSV | hsv(234, 57%, 79%) |
| CMYK | cmyk(56.9%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(45.67, 26.32, -55.58) |
| CIE-LCH | lch(45.67, 61.50, 295.33°) |
| OKLab | oklab(54.18% 0.0145 -0.159) |
| OKLCH | oklch(54.18% 0.16 275.2) |
| XYZ | xyz(18.9554, 15.0245, 57.7668) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.32
Warm Blue
#4B57DB
ΔE00 4.17
Iris
#6258C4
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.83
Royal Blue
#4169E1
ΔE00 4.98
Light Indigo
#6D5ACF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5762CA #CABF57
analogous
#579CCA #5762CA #8657CA
triadic
#5762CA #CA5762 #62CA57
tetradic
#5762CA #CA579C #CABF57 #57CA86
square
#5762CA #CA579C #CABF57 #57CA86
split-complementary
#5762CA #CA8657 #9CCA57
monochromatic
#28307F #3742AD #5762CA #868DD9 #B4B9E7
Accessibility & contrast
On white
5.24
#5762CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5762CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5762CA
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5762CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5762CA | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#1167C8
Tritanopia (blue-blind)
#0F7A8D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5762ca; /* rgb */ color: rgb(87, 98, 202); /* oklch */ color: oklch(54.2% 0.160 275.2);
Tailwind
colors: {
custom: {
50: '#908edb',
500: '#5762ca',
950: '#000000',
},
}SCSS
$custom: #5762ca; $custom-light: #908edb; $custom-dark: #000000;
JSON
{
"hex": "#5762ca",
"rgb": {
"r": 87,
"g": 98,
"b": 202
},
"hsl": {
"h": 234.261,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.5418,
"c": 0.15965,
"h": 275.2
},
"luminance": 0.15026
}Semantic roles & 50–950 ramp
primary
#5762CA
secondary
#D6D1A7
accent
#CE4CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83