#4F5CE0#4F5CE0
#4F5CE0 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.199 H 273.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CE0 |
|---|---|
| RGB | rgb(79, 92, 224) |
| HSL | hsl(235, 70%, 59%) |
| HSV | hsv(235, 65%, 88%) |
| CMYK | cmyk(64.7%, 58.9%, 0%, 12.2%) |
| CIE-LAB | lab(45.22, 36.00, -68.91) |
| CIE-LCH | lch(45.22, 77.75, 297.58°) |
| OKLab | oklab(54.2% 0.012 -0.1984) |
| OKLCH | oklch(54.2% 0.199 273.5) |
| XYZ | xyz(20.5017, 14.6966, 72.2629) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.75
Dark Periwinkle
#665FD1
ΔE00 3.91
Azul
#1D5DEC
ΔE00 4.19
Electric Blue
#0652FF
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.04
Iris
#6258C4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CE0 #E0D34F
analogous
#4FA4E0 #4F5CE0 #8B4FE0
triadic
#4F5CE0 #E04F5C #5CE04F
tetradic
#4F5CE0 #E04FA4 #E0D34F #4FE08B
square
#4F5CE0 #E04FA4 #E0D34F #4FE08B
split-complementary
#4F5CE0 #E08B4F #A4E04F
monochromatic
#1B269A #2433CE #4F5CE0 #838CE9 #B7BCF2
Accessibility & contrast
On white
5.33
#4F5CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#4F5CE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CE0
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CE0 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f5ce0; /* rgb */ color: rgb(79, 92, 224); /* oklch */ color: oklch(54.2% 0.199 273.5);
Tailwind
colors: {
custom: {
50: '#908aeb',
500: '#4f5ce0',
950: '#000000',
},
}SCSS
$custom: #4f5ce0; $custom-light: #908aeb; $custom-dark: #000000;
JSON
{
"hex": "#4f5ce0",
"rgb": {
"r": 79,
"g": 92,
"b": 224
},
"hsl": {
"h": 234.621,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.54199,
"c": 0.1988,
"h": 273.5
},
"luminance": 0.14698
}Semantic roles & 50–950 ramp
primary
#4F5CE0
secondary
#E2DDA9
accent
#DD3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84