#5761E2#5761E2
#5761E2 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.7% C 0.193 H 274.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5761E2 |
|---|---|
| RGB | rgb(87, 97, 226) |
| HSL | hsl(236, 71%, 61%) |
| HSV | hsv(236, 62%, 89%) |
| CMYK | cmyk(61.5%, 57.1%, 0%, 11.4%) |
| CIE-LAB | lab(47.06, 34.85, -67.02) |
| CIE-LCH | lch(47.06, 75.54, 297.47°) |
| OKLab | oklab(55.74% 0.0164 -0.1927) |
| OKLCH | oklch(55.74% 0.193 274.9) |
| XYZ | xyz(21.9281, 16.0648, 73.8820) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.41
Warm Blue
#4B57DB
ΔE00 3.53
Royal Blue
#4169E1
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 5.03
Azul
#1D5DEC
ΔE00 5.05
Light Indigo
#6D5ACF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5761E2 #E2D857
analogous
#57A7E2 #5761E2 #9357E2
triadic
#5761E2 #E25761 #61E257
tetradic
#5761E2 #E257A7 #E2D857 #57E293
square
#5761E2 #E257A7 #E2D857 #57E293
split-complementary
#5761E2 #E29357 #A7E257
monochromatic
#1C26A3 #2532D7 #5761E2 #8B92EB #BFC3F4
Accessibility & contrast
On white
4.98
#5761E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#5761E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5761E2
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5761E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5761E2 | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5761e2; /* rgb */ color: rgb(87, 97, 226); /* oklch */ color: oklch(55.7% 0.193 274.9);
Tailwind
colors: {
custom: {
50: '#948eec',
500: '#5761e2',
950: '#000000',
},
}SCSS
$custom: #5761e2; $custom-light: #948eec; $custom-dark: #000000;
JSON
{
"hex": "#5761e2",
"rgb": {
"r": 87,
"g": 97,
"b": 226
},
"hsl": {
"h": 235.683,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.55742,
"c": 0.19336,
"h": 274.9
},
"luminance": 0.16067
}Semantic roles & 50–950 ramp
primary
#5761E2
secondary
#E4E1B0
accent
#C513D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84