#4F5FD4#4F5FD4
#4F5FD4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.179 H 273.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FD4 |
|---|---|
| RGB | rgb(79, 95, 212) |
| HSL | hsl(233, 61%, 57%) |
| HSV | hsv(233, 63%, 83%) |
| CMYK | cmyk(62.7%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(45.08, 30.08, -62.30) |
| CIE-LCH | lch(45.08, 69.18, 295.78°) |
| OKLab | oklab(53.82% 0.0093 -0.179) |
| OKLCH | oklch(53.82% 0.179 273) |
| XYZ | xyz(19.1964, 14.5985, 64.0808) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.65
Dark Periwinkle
#665FD1
ΔE00 3.86
Azul
#1D5DEC
ΔE00 4.40
Royal Blue
#4169E1
ΔE00 4.43
Iris
#6258C4
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FD4 #D4C44F
analogous
#4FA2D4 #4F5FD4 #824FD4
triadic
#4F5FD4 #D44F5F #5FD44F
tetradic
#4F5FD4 #D44FA2 #D4C44F #4FD482
square
#4F5FD4 #D44FA2 #D4C44F #4FD482
split-complementary
#4F5FD4 #D4824F #A2D44F
monochromatic
#212D87 #2D3EB9 #4F5FD4 #808CE0 #B1B8EC
Accessibility & contrast
On white
5.36
#4F5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#4F5FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FD4
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FD4 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f5fd4; /* rgb */ color: rgb(79, 95, 212); /* oklch */ color: oklch(53.8% 0.179 273.0);
Tailwind
colors: {
custom: {
50: '#8d8ce2',
500: '#4f5fd4',
950: '#000000',
},
}SCSS
$custom: #4f5fd4; $custom-light: #8d8ce2; $custom-dark: #000000;
JSON
{
"hex": "#4f5fd4",
"rgb": {
"r": 79,
"g": 95,
"b": 212
},
"hsl": {
"h": 232.782,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.53822,
"c": 0.1792,
"h": 273
},
"luminance": 0.146
}Semantic roles & 50–950 ramp
primary
#4F5FD4
secondary
#DAD4A4
accent
#D144E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83