#4F5FD8#4F5FD8
#4F5FD8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.185 H 272.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FD8 |
|---|---|
| RGB | rgb(79, 95, 216) |
| HSL | hsl(233, 64%, 58%) |
| HSV | hsv(233, 63%, 85%) |
| CMYK | cmyk(63.4%, 56%, 0%, 15.3%) |
| CIE-LAB | lab(45.36, 31.44, -64.12) |
| CIE-LCH | lch(45.36, 71.41, 296.12°) |
| OKLab | oklab(54.12% 0.0094 -0.1843) |
| OKLCH | oklch(54.12% 0.185 272.9) |
| XYZ | xyz(19.7072, 14.8029, 66.7711) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.52
Dark Periwinkle
#665FD1
ΔE00 3.84
Azul
#1D5DEC
ΔE00 4.20
Royal Blue
#4169E1
ΔE00 4.30
Iris
#6258C4
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FD8 #D8C84F
analogous
#4FA3D8 #4F5FD8 #844FD8
triadic
#4F5FD8 #D84F5F #5FD84F
tetradic
#4F5FD8 #D84FA3 #D8C84F #4FD884
square
#4F5FD8 #D84FA3 #D8C84F #4FD884
split-complementary
#4F5FD8 #D8844F #A3D84F
monochromatic
#1F2C8D #2A3CBF #4F5FD8 #818DE3 #B3BAEE
Accessibility & contrast
On white
5.30
#4F5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#4F5FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FD8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FD8 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f5fd8; /* rgb */ color: rgb(79, 95, 216); /* oklch */ color: oklch(54.1% 0.185 272.9);
Tailwind
colors: {
custom: {
50: '#8e8ce5',
500: '#4f5fd8',
950: '#000000',
},
}SCSS
$custom: #4f5fd8; $custom-light: #8e8ce5; $custom-dark: #000000;
JSON
{
"hex": "#4f5fd8",
"rgb": {
"r": 79,
"g": 95,
"b": 216
},
"hsl": {
"h": 232.993,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.54124,
"c": 0.18457,
"h": 272.9
},
"luminance": 0.14805
}Semantic roles & 50–950 ramp
primary
#4F5FD8
secondary
#DDD6A6
accent
#D341E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84