#4F5FD9#4F5FD9
#4F5FD9 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.186 H 272.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FD9 |
|---|---|
| RGB | rgb(79, 95, 217) |
| HSL | hsl(233, 64%, 58%) |
| HSV | hsv(233, 64%, 85%) |
| CMYK | cmyk(63.6%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(45.43, 31.78, -64.57) |
| CIE-LCH | lch(45.43, 71.97, 296.20°) |
| OKLab | oklab(54.2% 0.0094 -0.1857) |
| OKLCH | oklch(54.2% 0.186 272.9) |
| XYZ | xyz(19.8369, 14.8547, 67.4541) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.51
Dark Periwinkle
#665FD1
ΔE00 3.84
Azul
#1D5DEC
ΔE00 4.16
Royal Blue
#4169E1
ΔE00 4.28
Iris
#6258C4
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FD9 #D9C94F
analogous
#4FA4D9 #4F5FD9 #844FD9
triadic
#4F5FD9 #D94F5F #5FD94F
tetradic
#4F5FD9 #D94FA4 #D9C94F #4FD984
square
#4F5FD9 #D94FA4 #D9C94F #4FD984
split-complementary
#4F5FD9 #D9844F #A4D94F
monochromatic
#1F2C8F #2A3BC1 #4F5FD9 #818DE4 #B4BBEF
Accessibility & contrast
On white
5.29
#4F5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#4F5FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FD9
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FD9 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4f5fd9; /* rgb */ color: rgb(79, 95, 217); /* oklch */ color: oklch(54.2% 0.186 272.9);
Tailwind
colors: {
custom: {
50: '#8e8ce6',
500: '#4f5fd9',
950: '#000000',
},
}SCSS
$custom: #4f5fd9; $custom-light: #8e8ce6; $custom-dark: #000000;
JSON
{
"hex": "#4f5fd9",
"rgb": {
"r": 79,
"g": 95,
"b": 217
},
"hsl": {
"h": 233.043,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.542,
"c": 0.1859,
"h": 272.9
},
"luminance": 0.14856
}Semantic roles & 50–950 ramp
primary
#4F5FD9
secondary
#DDD7A6
accent
#D440E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84