#5F58CD#5F58CD
#5F58CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.175 H 281.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58CD |
|---|---|
| RGB | rgb(95, 88, 205) |
| HSL | hsl(244, 54%, 57%) |
| HSV | hsv(244, 57%, 80%) |
| CMYK | cmyk(53.7%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(43.97, 35.00, -60.02) |
| CIE-LCH | lch(43.97, 69.48, 300.25°) |
| OKLab | oklab(53.13% 0.0344 -0.1719) |
| OKLCH | oklch(53.13% 0.175 281.3) |
| XYZ | xyz(19.2251, 13.8190, 59.4001) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.45
Slate Blue
#6A5ACD
ΔE00 2.00
Dark Periwinkle
#665FD1
ΔE00 2.43
Light Indigo
#6D5ACF
ΔE00 2.54
Warm Blue
#4B57DB
ΔE00 3.32
Bluey Purple
#6241C7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58CD #C6CD58
analogous
#588BCD #5F58CD #9A58CD
triadic
#5F58CD #CD5F58 #58CD5F
tetradic
#5F58CD #CD588B #C6CD58 #58CD9A
square
#5F58CD #CD588B #C6CD58 #58CD9A
split-complementary
#5F58CD #CD9A58 #8BCD58
monochromatic
#2D2783 #3D35B2 #5F58CD #8C87DB #B9B6E9
Accessibility & contrast
On white
5.58
#5F58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#5F58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58CD
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58CD | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#2E738A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f58cd; /* rgb */ color: rgb(95, 88, 205); /* oklch */ color: oklch(53.1% 0.175 281.3);
Tailwind
colors: {
custom: {
50: '#9587dd',
500: '#5f58cd',
950: '#000000',
},
}SCSS
$custom: #5f58cd; $custom-light: #9587dd; $custom-dark: #000000;
JSON
{
"hex": "#5f58cd",
"rgb": {
"r": 95,
"g": 88,
"b": 205
},
"hsl": {
"h": 243.59,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.53125,
"c": 0.17531,
"h": 281.3
},
"luminance": 0.1382
}Semantic roles & 50–950 ramp
primary
#5F58CD
secondary
#D5D8A9
accent
#DD4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83