#5F57CD#5F57CD
#5F57CD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.177 H 281.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57CD |
|---|---|
| RGB | rgb(95, 87, 205) |
| HSL | hsl(244, 54%, 57%) |
| HSV | hsv(244, 58%, 80%) |
| CMYK | cmyk(53.7%, 57.6%, 0%, 19.6%) |
| CIE-LAB | lab(43.74, 35.61, -60.40) |
| CIE-LCH | lch(43.74, 70.12, 300.52°) |
| OKLab | oklab(52.95% 0.0354 -0.173) |
| OKLCH | oklch(52.95% 0.177 281.6) |
| XYZ | xyz(19.1436, 13.6559, 59.3729) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.46
Slate Blue
#6A5ACD
ΔE00 2.06
Light Indigo
#6D5ACF
ΔE00 2.58
Dark Periwinkle
#665FD1
ΔE00 2.69
Warm Blue
#4B57DB
ΔE00 3.36
Bluey Purple
#6241C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57CD #C5CD57
analogous
#578ACD #5F57CD #9A57CD
triadic
#5F57CD #CD5F57 #57CD5F
tetradic
#5F57CD #CD578A #C5CD57 #57CD9A
square
#5F57CD #CD578A #C5CD57 #57CD9A
split-complementary
#5F57CD #CD9A57 #8ACD57
monochromatic
#2D2783 #3D35B2 #5F57CD #8C86DB #B9B5E9
Accessibility & contrast
On white
5.63
#5F57CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#5F57CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57CD
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57CD | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#2E7289
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f57cd; /* rgb */ color: rgb(95, 87, 205); /* oklch */ color: oklch(52.9% 0.177 281.6);
Tailwind
colors: {
custom: {
50: '#9586dd',
500: '#5f57cd',
950: '#000000',
},
}SCSS
$custom: #5f57cd; $custom-light: #9586dd; $custom-dark: #000000;
JSON
{
"hex": "#5f57cd",
"rgb": {
"r": 95,
"g": 87,
"b": 205
},
"hsl": {
"h": 244.068,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.5295,
"c": 0.17662,
"h": 281.6
},
"luminance": 0.13657
}Semantic roles & 50–950 ramp
primary
#5F57CD
secondary
#D5D8A8
accent
#DD4AD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83