#5F57CA#5F57CA
#5F57CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.173 H 281.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57CA |
|---|---|
| RGB | rgb(95, 87, 202) |
| HSL | hsl(244, 52%, 57%) |
| HSV | hsv(244, 57%, 79%) |
| CMYK | cmyk(53%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.53, 34.67, -59.01) |
| CIE-LCH | lch(43.53, 68.44, 300.43°) |
| OKLab | oklab(52.73% 0.0354 -0.1689) |
| OKLCH | oklch(52.73% 0.173 281.8) |
| XYZ | xyz(18.7849, 13.5125, 57.4840) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.08
Slate Blue
#6A5ACD
ΔE00 2.11
Light Indigo
#6D5ACF
ΔE00 2.67
Dark Periwinkle
#665FD1
ΔE00 2.82
Warm Blue
#4B57DB
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57CA #C2CA57
analogous
#5789CA #5F57CA #9957CA
triadic
#5F57CA #CA5F57 #57CA5F
tetradic
#5F57CA #CA5789 #C2CA57 #57CA99
square
#5F57CA #CA5789 #C2CA57 #57CA99
split-complementary
#5F57CA #CA9957 #89CA57
monochromatic
#2E287F #3F37AD #5F57CA #8B86D9 #B8B4E7
Accessibility & contrast
On white
5.67
#5F57CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#5F57CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57CA
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57CA | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#317288
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f57ca; /* rgb */ color: rgb(95, 87, 202); /* oklch */ color: oklch(52.7% 0.173 281.8);
Tailwind
colors: {
custom: {
50: '#9586db',
500: '#5f57ca',
950: '#000000',
},
}SCSS
$custom: #5f57ca; $custom-light: #9586db; $custom-dark: #000000;
JSON
{
"hex": "#5f57ca",
"rgb": {
"r": 95,
"g": 87,
"b": 202
},
"hsl": {
"h": 244.174,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.52728,
"c": 0.17262,
"h": 281.8
},
"luminance": 0.13514
}Semantic roles & 50–950 ramp
primary
#5F57CA
secondary
#D3D6A7
accent
#DB4CD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83