#5F58DA#5F58DA
#5F58DA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.192 H 280.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58DA |
|---|---|
| RGB | rgb(95, 88, 218) |
| HSL | hsl(243, 64%, 60%) |
| HSV | hsv(243, 60%, 85%) |
| CMYK | cmyk(56.4%, 59.6%, 0%, 14.5%) |
| CIE-LAB | lab(44.90, 39.08, -65.96) |
| CIE-LCH | lch(44.90, 76.67, 300.65°) |
| OKLab | oklab(54.11% 0.0341 -0.1894) |
| OKLCH | oklch(54.11% 0.192 280.2) |
| XYZ | xyz(20.8600, 14.4729, 68.0104) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 2.62
Warm Blue
#4B57DB
ΔE00 2.84
Light Indigo
#6D5ACF
ΔE00 2.86
Iris
#6258C4
ΔE00 3.18
Purpleish Blue
#6140EF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58DA #D3DA58
analogous
#5892DA #5F58DA #A058DA
triadic
#5F58DA #DA5F58 #58DA5F
tetradic
#5F58DA #DA5892 #D3DA58 #58DAA0
square
#5F58DA #DA5892 #D3DA58 #58DAA0
split-complementary
#5F58DA #DAA058 #92DA58
monochromatic
#282196 #352CC8 #5F58DA #8F8AE5 #BFBCF0
Accessibility & contrast
On white
5.39
#5F58DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5F58DA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58DA
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58DA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58DA | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#1B7791
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5f58da; /* rgb */ color: rgb(95, 88, 218); /* oklch */ color: oklch(54.1% 0.192 280.2);
Tailwind
colors: {
custom: {
50: '#9787e6',
500: '#5f58da',
950: '#000000',
},
}SCSS
$custom: #5f58da; $custom-light: #9787e6; $custom-dark: #000000;
JSON
{
"hex": "#5f58da",
"rgb": {
"r": 95,
"g": 88,
"b": 218
},
"hsl": {
"h": 243.231,
"s": 63.725,
"l": 60
},
"oklch": {
"l": 0.54107,
"c": 0.19242,
"h": 280.2
},
"luminance": 0.14474
}Semantic roles & 50–950 ramp
primary
#5F58DA
secondary
#DDE0AE
accent
#E741DE
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84