#4F58D9#4F58D9
#4F58D9 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.195 H 274.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58D9 |
|---|---|
| RGB | rgb(79, 88, 217) |
| HSL | hsl(236, 64%, 58%) |
| HSV | hsv(236, 64%, 85%) |
| CMYK | cmyk(63.6%, 59.4%, 0%, 14.9%) |
| CIE-LAB | lab(43.73, 36.11, -67.35) |
| CIE-LCH | lch(43.73, 76.42, 298.20°) |
| OKLab | oklab(52.93% 0.0155 -0.1939) |
| OKLCH | oklch(52.93% 0.195 274.6) |
| XYZ | xyz(19.2344, 13.6498, 67.2532) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.56
Dark Periwinkle
#665FD1
ΔE00 3.99
Iris
#6258C4
ΔE00 4.13
Slate Blue
#6A5ACD
ΔE00 4.56
Azul
#1D5DEC
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58D9 #D9D04F
analogous
#4F9DD9 #4F58D9 #8B4FD9
triadic
#4F58D9 #D94F58 #58D94F
tetradic
#4F58D9 #D94F9D #D9D04F #4FD98B
square
#4F58D9 #D94F9D #D9D04F #4FD98B
split-complementary
#4F58D9 #D98B4F #9DD94F
monochromatic
#1F268F #2A34C1 #4F58D9 #8188E4 #B4B8EF
Accessibility & contrast
On white
5.63
#4F58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#4F58D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58D9
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58D9 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4f58d9; /* rgb */ color: rgb(79, 88, 217); /* oklch */ color: oklch(52.9% 0.195 274.6);
Tailwind
colors: {
custom: {
50: '#8f87e6',
500: '#4f58d9',
950: '#000000',
},
}SCSS
$custom: #4f58d9; $custom-light: #8f87e6; $custom-dark: #000000;
JSON
{
"hex": "#4f58d9",
"rgb": {
"r": 79,
"g": 88,
"b": 217
},
"hsl": {
"h": 236.087,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.52931,
"c": 0.19451,
"h": 274.6
},
"luminance": 0.13651
}Semantic roles & 50–950 ramp
primary
#4F58D9
secondary
#DDDAA6
accent
#DD40E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84