#5F58CC#5F58CC
#5F58CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.174 H 281.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58CC |
|---|---|
| RGB | rgb(95, 88, 204) |
| HSL | hsl(244, 53%, 57%) |
| HSV | hsv(244, 57%, 80%) |
| CMYK | cmyk(53.4%, 56.9%, 0%, 20%) |
| CIE-LAB | lab(43.90, 34.69, -59.56) |
| CIE-LCH | lch(43.90, 68.92, 300.22°) |
| OKLab | oklab(53.05% 0.0344 -0.1705) |
| OKLCH | oklch(53.05% 0.174 281.4) |
| XYZ | xyz(19.1048, 13.7708, 58.7664) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.32
Slate Blue
#6A5ACD
ΔE00 2.00
Dark Periwinkle
#665FD1
ΔE00 2.47
Light Indigo
#6D5ACF
ΔE00 2.56
Warm Blue
#4B57DB
ΔE00 3.40
Bluey Purple
#6241C7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58CC #C5CC58
analogous
#588BCC #5F58CC #9958CC
triadic
#5F58CC #CC5F58 #58CC5F
tetradic
#5F58CC #CC588B #C5CC58 #58CC99
square
#5F58CC #CC588B #C5CC58 #58CC99
split-complementary
#5F58CC #CC9958 #8BCC58
monochromatic
#2D2882 #3D36B1 #5F58CC #8C87DA #B9B6E9
Accessibility & contrast
On white
5.59
#5F58CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#5F58CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58CC
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58CC | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#2F7389
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f58cc; /* rgb */ color: rgb(95, 88, 204); /* oklch */ color: oklch(53.1% 0.174 281.4);
Tailwind
colors: {
custom: {
50: '#9587dc',
500: '#5f58cc',
950: '#000000',
},
}SCSS
$custom: #5f58cc; $custom-light: #9587dc; $custom-dark: #000000;
JSON
{
"hex": "#5f58cc",
"rgb": {
"r": 95,
"g": 88,
"b": 204
},
"hsl": {
"h": 243.621,
"s": 53.211,
"l": 57.255
},
"oklch": {
"l": 0.53051,
"c": 0.17397,
"h": 281.4
},
"luminance": 0.13772
}Semantic roles & 50–950 ramp
primary
#5F58CC
secondary
#D5D7A8
accent
#DD4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83