#5F58DF#5F58DF
#5F58DF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.5% C 0.199 H 279.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58DF |
|---|---|
| RGB | rgb(95, 88, 223) |
| HSL | hsl(243, 68%, 61%) |
| HSV | hsv(243, 61%, 87%) |
| CMYK | cmyk(57.4%, 60.5%, 0%, 12.5%) |
| CIE-LAB | lab(45.27, 40.65, -68.20) |
| CIE-LCH | lch(45.27, 79.40, 300.80°) |
| OKLab | oklab(54.5% 0.0339 -0.196) |
| OKLCH | oklch(54.5% 0.199 279.8) |
| XYZ | xyz(21.5241, 14.7386, 71.5083) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.89
Warm Blue
#4B57DB
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 3.22
Iris
#6258C4
ΔE00 3.83
Purpleish Blue
#6140EF
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58DF #D8DF58
analogous
#5894DF #5F58DF #A258DF
triadic
#5F58DF #DF5F58 #58DF5F
tetradic
#5F58DF #DF5894 #D8DF58 #58DFA2
square
#5F58DF #DF5894 #D8DF58 #58DFA2
split-complementary
#5F58DF #DFA258 #94DF58
monochromatic
#251E9E #3128D2 #5F58DF #908BE9 #C1BFF3
Accessibility & contrast
On white
5.32
#5F58DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#5F58DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58DF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58DF | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#0E7993
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5f58df; /* rgb */ color: rgb(95, 88, 223); /* oklch */ color: oklch(54.5% 0.199 279.8);
Tailwind
colors: {
custom: {
50: '#9887ea',
500: '#5f58df',
950: '#000000',
},
}SCSS
$custom: #5f58df; $custom-light: #9887ea; $custom-dark: #000000;
JSON
{
"hex": "#5f58df",
"rgb": {
"r": 95,
"g": 88,
"b": 223
},
"hsl": {
"h": 243.111,
"s": 67.839,
"l": 60.98
},
"oklch": {
"l": 0.54495,
"c": 0.19887,
"h": 279.8
},
"luminance": 0.1474
}Semantic roles & 50–950 ramp
primary
#5F58DF
secondary
#E0E3B0
accent
#D016C6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84