#4F58C8#4F58C8
#4F58C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.172 H 275.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58C8 |
|---|---|
| RGB | rgb(79, 88, 200) |
| HSL | hsl(236, 52%, 55%) |
| HSV | hsv(236, 61%, 78%) |
| CMYK | cmyk(60.5%, 56%, 0%, 21.6%) |
| CIE-LAB | lab(42.48, 30.41, -59.61) |
| CIE-LCH | lch(42.48, 66.92, 297.03°) |
| OKLab | oklab(51.61% 0.0155 -0.1711) |
| OKLCH | oklch(51.61% 0.172 275.2) |
| XYZ | xyz(17.1361, 12.8105, 56.2020) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.53
Iris
#6258C4
ΔE00 3.37
Dark Periwinkle
#665FD1
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 4.72
Light Indigo
#6D5ACF
ΔE00 5.31
Azul
#1D5DEC
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58C8 #C8BF4F
analogous
#4F95C8 #4F58C8 #824FC8
triadic
#4F58C8 #C84F58 #58C84F
tetradic
#4F58C8 #C84F95 #C8BF4F #4FC882
square
#4F58C8 #C84F95 #C8BF4F #4FC882
split-complementary
#4F58C8 #C8824F #95C84F
monochromatic
#252B77 #343CA6 #4F58C8 #7E84D7 #ACB0E5
Accessibility & contrast
On white
5.89
#4F58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#4F58C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58C8
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58C8 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f58c8; /* rgb */ color: rgb(79, 88, 200); /* oklch */ color: oklch(51.6% 0.172 275.2);
Tailwind
colors: {
custom: {
50: '#8c87d9',
500: '#4f58c8',
950: '#000000',
},
}SCSS
$custom: #4f58c8; $custom-light: #8c87d9; $custom-dark: #000000;
JSON
{
"hex": "#4f58c8",
"rgb": {
"r": 79,
"g": 88,
"b": 200
},
"hsl": {
"h": 235.537,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.51609,
"c": 0.17184,
"h": 275.2
},
"luminance": 0.12812
}Semantic roles & 50–950 ramp
primary
#4F58C8
secondary
#D3CFA0
accent
#D14CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83