#4F5EE1#4F5EE1
#4F5EE1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.198 H 273.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5EE1 |
|---|---|
| RGB | rgb(79, 94, 225) |
| HSL | hsl(234, 71%, 60%) |
| HSV | hsv(234, 65%, 88%) |
| CMYK | cmyk(64.9%, 58.2%, 0%, 11.8%) |
| CIE-LAB | lab(45.77, 35.11, -68.57) |
| CIE-LCH | lch(45.77, 77.03, 297.11°) |
| OKLab | oklab(54.64% 0.0104 -0.1974) |
| OKLCH | oklch(54.64% 0.198 273) |
| XYZ | xyz(20.8132, 15.1021, 73.0377) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.37
Dark Periwinkle
#665FD1
ΔE00 3.98
Azul
#1D5DEC
ΔE00 4.03
Royal Blue
#4169E1
ΔE00 4.54
Electric Blue
#0652FF
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5EE1 #E1D24F
analogous
#4FA7E1 #4F5EE1 #894FE1
triadic
#4F5EE1 #E14F5E #5EE14F
tetradic
#4F5EE1 #E14FA7 #E1D24F #4FE189
square
#4F5EE1 #E14FA7 #E1D24F #4FE189
split-complementary
#4F5EE1 #E1894F #A7E14F
monochromatic
#1A289B #2335CF #4F5EE1 #838EEA #B8BEF3
Accessibility & contrast
On white
5.22
#4F5EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4F5EE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5EE1
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5EE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5EE1 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4f5ee1; /* rgb */ color: rgb(79, 94, 225); /* oklch */ color: oklch(54.6% 0.198 273.0);
Tailwind
colors: {
custom: {
50: '#908beb',
500: '#4f5ee1',
950: '#000000',
},
}SCSS
$custom: #4f5ee1; $custom-light: #908beb; $custom-dark: #000000;
JSON
{
"hex": "#4f5ee1",
"rgb": {
"r": 79,
"g": 94,
"b": 225
},
"hsl": {
"h": 233.836,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.54636,
"c": 0.19769,
"h": 273
},
"luminance": 0.15104
}Semantic roles & 50–950 ramp
primary
#4F5EE1
secondary
#E2DCAA
accent
#DB3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84