#5761E8#5761E8
#5761E8 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.2% C 0.201 H 274.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5761E8 |
|---|---|
| RGB | rgb(87, 97, 232) |
| HSL | hsl(236, 76%, 63%) |
| HSV | hsv(236, 63%, 91%) |
| CMYK | cmyk(62.5%, 58.2%, 0%, 9%) |
| CIE-LAB | lab(47.49, 36.83, -69.70) |
| CIE-LCH | lch(47.49, 78.84, 297.85°) |
| OKLab | oklab(56.2% 0.0164 -0.2005) |
| OKLCH | oklch(56.2% 0.201 274.7) |
| XYZ | xyz(22.7659, 16.3999, 78.2941) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.89
Warm Blue
#4B57DB
ΔE00 3.92
Royal Blue
#4169E1
ΔE00 4.68
Azul
#1D5DEC
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5761E8 #E8DE57
analogous
#57AAE8 #5761E8 #9557E8
triadic
#5761E8 #E85761 #61E857
tetradic
#5761E8 #E857AA #E8DE57 #57E895
square
#5761E8 #E857AA #E8DE57 #57E895
split-complementary
#5761E8 #E89557 #AAE857
monochromatic
#1822AD #212EE1 #5761E8 #8D94EF #C3C6F7
Accessibility & contrast
On white
4.91
#5761E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#5761E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5761E8
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5761E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5761E8 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5761e8; /* rgb */ color: rgb(87, 97, 232); /* oklch */ color: oklch(56.2% 0.201 274.7);
Tailwind
colors: {
custom: {
50: '#958ef0',
500: '#5761e8',
950: '#000000',
},
}SCSS
$custom: #5761e8; $custom-light: #958ef0; $custom-dark: #000000;
JSON
{
"hex": "#5761e8",
"rgb": {
"r": 87,
"g": 97,
"b": 232
},
"hsl": {
"h": 235.862,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.56203,
"c": 0.20121,
"h": 274.7
},
"luminance": 0.16402
}Semantic roles & 50–950 ramp
primary
#5761E8
secondary
#E8E4B3
accent
#CA0DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85