#5762E2#5762E2
#5762E2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.9% C 0.192 H 274.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5762E2 |
|---|---|
| RGB | rgb(87, 98, 226) |
| HSL | hsl(235, 71%, 61%) |
| HSV | hsv(235, 62%, 89%) |
| CMYK | cmyk(61.5%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(47.30, 34.24, -66.63) |
| CIE-LCH | lch(47.30, 74.91, 297.20°) |
| OKLab | oklab(55.92% 0.0155 -0.1915) |
| OKLCH | oklch(55.92% 0.192 274.6) |
| XYZ | xyz(22.0211, 16.2508, 73.9130) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 3.80
Royal Blue
#4169E1
ΔE00 4.28
Azul
#1D5DEC
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5762E2 #E2D757
analogous
#57A8E2 #5762E2 #9257E2
triadic
#5762E2 #E25762 #62E257
tetradic
#5762E2 #E257A8 #E2D757 #57E292
square
#5762E2 #E257A8 #E2D757 #57E292
split-complementary
#5762E2 #E29257 #A8E257
monochromatic
#1C27A3 #2533D7 #5762E2 #8B93EB #BFC4F4
Accessibility & contrast
On white
4.94
#5762E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#5762E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5762E2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5762E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5762E2 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5762e2; /* rgb */ color: rgb(87, 98, 226); /* oklch */ color: oklch(55.9% 0.192 274.6);
Tailwind
colors: {
custom: {
50: '#948eec',
500: '#5762e2',
950: '#000000',
},
}SCSS
$custom: #5762e2; $custom-light: #948eec; $custom-dark: #000000;
JSON
{
"hex": "#5762e2",
"rgb": {
"r": 87,
"g": 98,
"b": 226
},
"hsl": {
"h": 235.252,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.55923,
"c": 0.19212,
"h": 274.6
},
"luminance": 0.16253
}Semantic roles & 50–950 ramp
primary
#5762E2
secondary
#E4E0B0
accent
#C313D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84