#4F5FE0#4F5FE0
#4F5FE0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.195 H 272.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FE0 |
|---|---|
| RGB | rgb(79, 95, 224) |
| HSL | hsl(233, 70%, 59%) |
| HSV | hsv(233, 65%, 88%) |
| CMYK | cmyk(64.7%, 57.6%, 0%, 12.2%) |
| CIE-LAB | lab(45.94, 34.15, -67.73) |
| CIE-LCH | lch(45.94, 75.85, 296.76°) |
| OKLab | oklab(54.74% 0.0095 -0.1949) |
| OKLCH | oklch(54.74% 0.195 272.8) |
| XYZ | xyz(20.7667, 15.2267, 72.3512) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.62
Azul
#1D5DEC
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.00
Royal Blue
#4169E1
ΔE00 4.23
Electric Blue
#0652FF
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FE0 #E0D04F
analogous
#4FA8E0 #4F5FE0 #884FE0
triadic
#4F5FE0 #E04F5F #5FE04F
tetradic
#4F5FE0 #E04FA8 #E0D04F #4FE088
square
#4F5FE0 #E04FA8 #E0D04F #4FE088
split-complementary
#4F5FE0 #E0884F #A8E04F
monochromatic
#1B299A #2437CE #4F5FE0 #838EE9 #B7BEF2
Accessibility & contrast
On white
5.19
#4F5FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4F5FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FE0
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FE0 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4f5fe0; /* rgb */ color: rgb(79, 95, 224); /* oklch */ color: oklch(54.7% 0.195 272.8);
Tailwind
colors: {
custom: {
50: '#908ceb',
500: '#4f5fe0',
950: '#000000',
},
}SCSS
$custom: #4f5fe0; $custom-light: #908ceb; $custom-dark: #000000;
JSON
{
"hex": "#4f5fe0",
"rgb": {
"r": 79,
"g": 95,
"b": 224
},
"hsl": {
"h": 233.379,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.54739,
"c": 0.19517,
"h": 272.8
},
"luminance": 0.15229
}Semantic roles & 50–950 ramp
primary
#4F5FE0
secondary
#E2DBA9
accent
#D93BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84