#4F58CA#4F58CA
#4F58CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.175 H 275.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58CA |
|---|---|
| RGB | rgb(79, 88, 202) |
| HSL | hsl(236, 54%, 55%) |
| HSV | hsv(236, 61%, 79%) |
| CMYK | cmyk(60.9%, 56.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.62, 31.08, -60.54) |
| CIE-LCH | lch(42.62, 68.05, 297.18°) |
| OKLab | oklab(51.76% 0.0155 -0.1739) |
| OKLCH | oklch(51.76% 0.175 275.1) |
| XYZ | xyz(17.3714, 12.9046, 57.4411) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.26
Iris
#6258C4
ΔE00 3.39
Dark Periwinkle
#665FD1
ΔE00 4.27
Slate Blue
#6A5ACD
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 5.22
Azul
#1D5DEC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58CA #CAC14F
analogous
#4F95CA #4F58CA #844FCA
triadic
#4F58CA #CA4F58 #58CA4F
tetradic
#4F58CA #CA4F95 #CAC14F #4FCA84
square
#4F58CA #CA4F95 #CAC14F #4FCA84
split-complementary
#4F58CA #CA844F #95CA4F
monochromatic
#252B7A #333CA9 #4F58CA #7E85D8 #ADB1E6
Accessibility & contrast
On white
5.86
#4F58CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#4F58CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58CA
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58CA | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f58ca; /* rgb */ color: rgb(79, 88, 202); /* oklch */ color: oklch(51.8% 0.175 275.1);
Tailwind
colors: {
custom: {
50: '#8c87db',
500: '#4f58ca',
950: '#000000',
},
}SCSS
$custom: #4f58ca; $custom-light: #8c87db; $custom-dark: #000000;
JSON
{
"hex": "#4f58ca",
"rgb": {
"r": 79,
"g": 88,
"b": 202
},
"hsl": {
"h": 235.61,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.51761,
"c": 0.17455,
"h": 275.1
},
"luminance": 0.12906
}Semantic roles & 50–950 ramp
primary
#4F58CA
secondary
#D4D0A1
accent
#D24BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83