#4F5FDF#4F5FDF
#4F5FDF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.194 H 272.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FDF |
|---|---|
| RGB | rgb(79, 95, 223) |
| HSL | hsl(233, 69%, 59%) |
| HSV | hsv(233, 65%, 87%) |
| CMYK | cmyk(64.6%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(45.87, 33.81, -67.28) |
| CIE-LCH | lch(45.87, 75.30, 296.68°) |
| OKLab | oklab(54.66% 0.0095 -0.1936) |
| OKLCH | oklch(54.66% 0.194 272.8) |
| XYZ | xyz(20.6315, 15.1726, 71.6391) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.58
Dark Periwinkle
#665FD1
ΔE00 3.96
Azul
#1D5DEC
ΔE00 4.01
Royal Blue
#4169E1
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 5.40
Iris
#6258C4
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FDF #DFCF4F
analogous
#4FA7DF #4F5FDF #874FDF
triadic
#4F5FDF #DF4F5F #5FDF4F
tetradic
#4F5FDF #DF4FA7 #DFCF4F #4FDF87
square
#4F5FDF #DF4FA7 #DFCF4F #4FDF87
split-complementary
#4F5FDF #DF874F #A7DF4F
monochromatic
#1C2998 #2538CC #4F5FDF #838EE8 #B7BDF2
Accessibility & contrast
On white
5.20
#4F5FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#4F5FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FDF
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FDF | 1.00 | 5.20 | 4.03 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4f5fdf; /* rgb */ color: rgb(79, 95, 223); /* oklch */ color: oklch(54.7% 0.194 272.8);
Tailwind
colors: {
custom: {
50: '#8f8cea',
500: '#4f5fdf',
950: '#000000',
},
}SCSS
$custom: #4f5fdf; $custom-light: #8f8cea; $custom-dark: #000000;
JSON
{
"hex": "#4f5fdf",
"rgb": {
"r": 79,
"g": 95,
"b": 223
},
"hsl": {
"h": 233.333,
"s": 69.231,
"l": 59.216
},
"oklch": {
"l": 0.54661,
"c": 0.19385,
"h": 272.8
},
"luminance": 0.15174
}Semantic roles & 50–950 ramp
primary
#4F5FDF
secondary
#E1DBA9
accent
#D83CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84