#4F5FE1#4F5FE1
#4F5FE1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.196 H 272.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FE1 |
|---|---|
| RGB | rgb(79, 95, 225) |
| HSL | hsl(233, 71%, 60%) |
| HSV | hsv(233, 65%, 88%) |
| CMYK | cmyk(64.9%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(46.02, 34.49, -68.17) |
| CIE-LCH | lch(46.02, 76.40, 296.84°) |
| OKLab | oklab(54.82% 0.0096 -0.1962) |
| OKLCH | oklch(54.82% 0.196 272.8) |
| XYZ | xyz(20.9027, 15.2811, 73.0676) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.67
Azul
#1D5DEC
ΔE00 3.99
Dark Periwinkle
#665FD1
ΔE00 4.04
Royal Blue
#4169E1
ΔE00 4.24
Electric Blue
#0652FF
ΔE00 5.34
Slate Blue
#6A5ACD
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FE1 #E1D14F
analogous
#4FA8E1 #4F5FE1 #884FE1
triadic
#4F5FE1 #E14F5F #5FE14F
tetradic
#4F5FE1 #E14FA8 #E1D14F #4FE188
square
#4F5FE1 #E14FA8 #E1D14F #4FE188
split-complementary
#4F5FE1 #E1884F #A8E14F
monochromatic
#1A299B #2336CF #4F5FE1 #838FEA #B8BEF3
Accessibility & contrast
On white
5.18
#4F5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#4F5FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FE1
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FE1 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4f5fe1; /* rgb */ color: rgb(79, 95, 225); /* oklch */ color: oklch(54.8% 0.196 272.8);
Tailwind
colors: {
custom: {
50: '#908ceb',
500: '#4f5fe1',
950: '#000000',
},
}SCSS
$custom: #4f5fe1; $custom-light: #908ceb; $custom-dark: #000000;
JSON
{
"hex": "#4f5fe1",
"rgb": {
"r": 79,
"g": 95,
"b": 225
},
"hsl": {
"h": 233.425,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.54817,
"c": 0.19648,
"h": 272.8
},
"luminance": 0.15283
}Semantic roles & 50–950 ramp
primary
#4F5FE1
secondary
#E2DCAA
accent
#DA3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84