#5761E5#5761E5
#5761E5 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.197 H 274.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5761E5 |
|---|---|
| RGB | rgb(87, 97, 229) |
| HSL | hsl(236, 73%, 62%) |
| HSV | hsv(236, 62%, 90%) |
| CMYK | cmyk(62%, 57.6%, 0%, 10.2%) |
| CIE-LAB | lab(47.28, 35.84, -68.37) |
| CIE-LCH | lch(47.28, 77.19, 297.67°) |
| OKLab | oklab(55.97% 0.0164 -0.1966) |
| OKLCH | oklch(55.97% 0.197 274.8) |
| XYZ | xyz(22.3434, 16.2309, 76.0690) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 3.71
Royal Blue
#4169E1
ΔE00 4.58
Azul
#1D5DEC
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.22
Light Indigo
#6D5ACF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5761E5 #E5DB57
analogous
#57A8E5 #5761E5 #9457E5
triadic
#5761E5 #E55761 #61E557
tetradic
#5761E5 #E557A8 #E5DB57 #57E594
square
#5761E5 #E557A8 #E5DB57 #57E594
split-complementary
#5761E5 #E59457 #A8E557
monochromatic
#1A24A8 #222FDD #5761E5 #8C93ED #C1C5F5
Accessibility & contrast
On white
4.95
#5761E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#5761E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5761E5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5761E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5761E5 | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5761e5; /* rgb */ color: rgb(87, 97, 229); /* oklch */ color: oklch(56.0% 0.197 274.8);
Tailwind
colors: {
custom: {
50: '#948eee',
500: '#5761e5',
950: '#000000',
},
}SCSS
$custom: #5761e5; $custom-light: #948eee; $custom-dark: #000000;
JSON
{
"hex": "#5761e5",
"rgb": {
"r": 87,
"g": 97,
"b": 229
},
"hsl": {
"h": 235.775,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.55971,
"c": 0.19729,
"h": 274.8
},
"luminance": 0.16233
}Semantic roles & 50–950 ramp
primary
#5761E5
secondary
#E6E2B2
accent
#C710D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84