#5F58CB#5F58CB
#5F58CB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.173 H 281.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58CB |
|---|---|
| RGB | rgb(95, 88, 203) |
| HSL | hsl(244, 53%, 57%) |
| HSV | hsv(244, 57%, 80%) |
| CMYK | cmyk(53.2%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(43.83, 34.38, -59.09) |
| CIE-LCH | lch(43.83, 68.36, 300.19°) |
| OKLab | oklab(52.98% 0.0344 -0.1692) |
| OKLCH | oklch(52.98% 0.173 281.5) |
| XYZ | xyz(18.9852, 13.7230, 58.1367) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.19
Slate Blue
#6A5ACD
ΔE00 2.02
Dark Periwinkle
#665FD1
ΔE00 2.52
Light Indigo
#6D5ACF
ΔE00 2.59
Warm Blue
#4B57DB
ΔE00 3.49
Bluey Purple
#6241C7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58CB #C4CB58
analogous
#588BCB #5F58CB #9958CB
triadic
#5F58CB #CB5F58 #58CB5F
tetradic
#5F58CB #CB588B #C4CB58 #58CB99
square
#5F58CB #CB588B #C4CB58 #58CB99
split-complementary
#5F58CB #CB9958 #8BCB58
monochromatic
#2D2881 #3E37AF #5F58CB #8C87DA #B8B5E8
Accessibility & contrast
On white
5.61
#5F58CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5F58CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58CB
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58CB | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#307389
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f58cb; /* rgb */ color: rgb(95, 88, 203); /* oklch */ color: oklch(53.0% 0.173 281.5);
Tailwind
colors: {
custom: {
50: '#9587dc',
500: '#5f58cb',
950: '#000000',
},
}SCSS
$custom: #5f58cb; $custom-light: #9587dc; $custom-dark: #000000;
JSON
{
"hex": "#5f58cb",
"rgb": {
"r": 95,
"g": 88,
"b": 203
},
"hsl": {
"h": 243.652,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.52978,
"c": 0.17263,
"h": 281.5
},
"luminance": 0.13724
}Semantic roles & 50–950 ramp
primary
#5F58CB
secondary
#D4D7A8
accent
#DC4CD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83