#4F58D7#4F58D7
#4F58D7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.192 H 274.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58D7 |
|---|---|
| RGB | rgb(79, 88, 215) |
| HSL | hsl(236, 63%, 58%) |
| HSV | hsv(236, 63%, 84%) |
| CMYK | cmyk(63.3%, 59.1%, 0%, 15.7%) |
| CIE-LAB | lab(43.58, 35.44, -66.45) |
| CIE-LCH | lch(43.58, 75.31, 298.07°) |
| OKLab | oklab(52.77% 0.0155 -0.1913) |
| OKLCH | oklch(52.77% 0.192 274.6) |
| XYZ | xyz(18.9759, 13.5464, 65.8915) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.68
Dark Periwinkle
#665FD1
ΔE00 3.97
Iris
#6258C4
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.53
Light Indigo
#6D5ACF
ΔE00 4.97
Azul
#1D5DEC
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58D7 #D7CE4F
analogous
#4F9CD7 #4F58D7 #8A4FD7
triadic
#4F58D7 #D74F58 #58D74F
tetradic
#4F58D7 #D74F9C #D7CE4F #4FD78A
square
#4F58D7 #D74F9C #D7CE4F #4FD78A
split-complementary
#4F58D7 #D78A4F #9CD74F
monochromatic
#20278C #2B35BE #4F58D7 #8187E2 #B3B7EE
Accessibility & contrast
On white
5.66
#4F58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#4F58D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58D7
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58D7 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4f58d7; /* rgb */ color: rgb(79, 88, 215); /* oklch */ color: oklch(52.8% 0.192 274.6);
Tailwind
colors: {
custom: {
50: '#8e87e4',
500: '#4f58d7',
950: '#000000',
},
}SCSS
$custom: #4f58d7; $custom-light: #8e87e4; $custom-dark: #000000;
JSON
{
"hex": "#4f58d7",
"rgb": {
"r": 79,
"g": 88,
"b": 215
},
"hsl": {
"h": 236.029,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.52772,
"c": 0.19189,
"h": 274.6
},
"luminance": 0.13548
}Semantic roles & 50–950 ramp
primary
#4F58D7
secondary
#DCD9A6
accent
#DB42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84