#4F5DE1#4F5DE1
#4F5DE1 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.199 H 273.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5DE1 |
|---|---|
| RGB | rgb(79, 93, 225) |
| HSL | hsl(234, 71%, 60%) |
| HSV | hsv(234, 65%, 88%) |
| CMYK | cmyk(64.9%, 58.7%, 0%, 11.8%) |
| CIE-LAB | lab(45.53, 35.72, -68.96) |
| CIE-LCH | lch(45.53, 77.67, 297.38°) |
| OKLab | oklab(54.46% 0.0112 -0.1986) |
| OKLCH | oklch(54.46% 0.199 273.2) |
| XYZ | xyz(20.7249, 14.9254, 73.0083) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.09
Dark Periwinkle
#665FD1
ΔE00 3.95
Azul
#1D5DEC
ΔE00 4.10
Royal Blue
#4169E1
ΔE00 4.84
Electric Blue
#0652FF
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5DE1 #E1D34F
analogous
#4FA6E1 #4F5DE1 #8A4FE1
triadic
#4F5DE1 #E14F5D #5DE14F
tetradic
#4F5DE1 #E14FA6 #E1D34F #4FE18A
square
#4F5DE1 #E14FA6 #E1D34F #4FE18A
split-complementary
#4F5DE1 #E18A4F #A6E14F
monochromatic
#1A279B #2334CF #4F5DE1 #838DEA #B8BDF3
Accessibility & contrast
On white
5.27
#4F5DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#4F5DE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5DE1
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5DE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5DE1 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4f5de1; /* rgb */ color: rgb(79, 93, 225); /* oklch */ color: oklch(54.5% 0.199 273.2);
Tailwind
colors: {
custom: {
50: '#908beb',
500: '#4f5de1',
950: '#000000',
},
}SCSS
$custom: #4f5de1; $custom-light: #908beb; $custom-dark: #000000;
JSON
{
"hex": "#4f5de1",
"rgb": {
"r": 79,
"g": 93,
"b": 225
},
"hsl": {
"h": 234.247,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.54457,
"c": 0.19891,
"h": 273.2
},
"luminance": 0.14927
}Semantic roles & 50–950 ramp
primary
#4F5DE1
secondary
#E2DDAA
accent
#DC3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84