#4F58D8#4F58D8
#4F58D8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.193 H 274.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58D8 |
|---|---|
| RGB | rgb(79, 88, 216) |
| HSL | hsl(236, 64%, 58%) |
| HSV | hsv(236, 63%, 85%) |
| CMYK | cmyk(63.4%, 59.3%, 0%, 15.3%) |
| CIE-LAB | lab(43.65, 35.77, -66.90) |
| CIE-LCH | lch(43.65, 75.87, 298.13°) |
| OKLab | oklab(52.85% 0.0155 -0.1926) |
| OKLCH | oklch(52.85% 0.193 274.6) |
| XYZ | xyz(19.1048, 13.5980, 66.5703) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.61
Dark Periwinkle
#665FD1
ΔE00 3.98
Iris
#6258C4
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.54
Azul
#1D5DEC
ΔE00 4.95
Light Indigo
#6D5ACF
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58D8 #D8CF4F
analogous
#4F9DD8 #4F58D8 #8A4FD8
triadic
#4F58D8 #D84F58 #58D84F
tetradic
#4F58D8 #D84F9D #D8CF4F #4FD88A
square
#4F58D8 #D84F9D #D8CF4F #4FD88A
split-complementary
#4F58D8 #D88A4F #9DD84F
monochromatic
#1F278D #2A34BF #4F58D8 #8188E3 #B3B7EE
Accessibility & contrast
On white
5.65
#4F58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#4F58D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58D8
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58D8 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4f58d8; /* rgb */ color: rgb(79, 88, 216); /* oklch */ color: oklch(52.9% 0.193 274.6);
Tailwind
colors: {
custom: {
50: '#8f87e5',
500: '#4f58d8',
950: '#000000',
},
}SCSS
$custom: #4f58d8; $custom-light: #8f87e5; $custom-dark: #000000;
JSON
{
"hex": "#4f58d8",
"rgb": {
"r": 79,
"g": 88,
"b": 216
},
"hsl": {
"h": 236.058,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.52852,
"c": 0.1932,
"h": 274.6
},
"luminance": 0.136
}Semantic roles & 50–950 ramp
primary
#4F58D8
secondary
#DDD9A6
accent
#DC41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84