#4F58CB#4F58CB
#4F58CB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.176 H 275.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58CB |
|---|---|
| RGB | rgb(79, 88, 203) |
| HSL | hsl(236, 54%, 55%) |
| HSV | hsv(236, 61%, 80%) |
| CMYK | cmyk(61.1%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(42.69, 31.42, -61.00) |
| CIE-LCH | lch(42.69, 68.61, 297.25°) |
| OKLab | oklab(51.84% 0.0155 -0.1752) |
| OKLCH | oklch(51.84% 0.176 275.1) |
| XYZ | xyz(17.4901, 12.9521, 58.0667) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.12
Iris
#6258C4
ΔE00 3.41
Dark Periwinkle
#665FD1
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 5.18
Azul
#1D5DEC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58CB #CBC24F
analogous
#4F96CB #4F58CB #844FCB
triadic
#4F58CB #CB4F58 #58CB4F
tetradic
#4F58CB #CB4F96 #CBC24F #4FCB84
square
#4F58CB #CB4F96 #CBC24F #4FCB84
split-complementary
#4F58CB #CB844F #96CB4F
monochromatic
#242B7B #323BAA #4F58CB #7E85D9 #ADB2E7
Accessibility & contrast
On white
5.85
#4F58CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4F58CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58CB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58CB | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f58cb; /* rgb */ color: rgb(79, 88, 203); /* oklch */ color: oklch(51.8% 0.176 275.1);
Tailwind
colors: {
custom: {
50: '#8c87dc',
500: '#4f58cb',
950: '#000000',
},
}SCSS
$custom: #4f58cb; $custom-light: #8c87dc; $custom-dark: #000000;
JSON
{
"hex": "#4f58cb",
"rgb": {
"r": 79,
"g": 88,
"b": 203
},
"hsl": {
"h": 235.645,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.51837,
"c": 0.1759,
"h": 275.1
},
"luminance": 0.12954
}Semantic roles & 50–950 ramp
primary
#4F58CB
secondary
#D5D1A1
accent
#D34ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83