#4F5FD5#4F5FD5
#4F5FD5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.181 H 273.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FD5 |
|---|---|
| RGB | rgb(79, 95, 213) |
| HSL | hsl(233, 61%, 57%) |
| HSV | hsv(233, 63%, 84%) |
| CMYK | cmyk(62.9%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(45.15, 30.42, -62.75) |
| CIE-LCH | lch(45.15, 69.74, 295.87°) |
| OKLab | oklab(53.9% 0.0093 -0.1803) |
| OKLCH | oklch(53.9% 0.181 273) |
| XYZ | xyz(19.3229, 14.6491, 64.7472) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.61
Dark Periwinkle
#665FD1
ΔE00 3.85
Azul
#1D5DEC
ΔE00 4.35
Royal Blue
#4169E1
ΔE00 4.39
Iris
#6258C4
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FD5 #D5C54F
analogous
#4FA2D5 #4F5FD5 #824FD5
triadic
#4F5FD5 #D54F5F #5FD54F
tetradic
#4F5FD5 #D54FA2 #D5C54F #4FD582
square
#4F5FD5 #D54FA2 #D5C54F #4FD582
split-complementary
#4F5FD5 #D5824F #A2D54F
monochromatic
#212D89 #2C3DBA #4F5FD5 #808CE1 #B2B9ED
Accessibility & contrast
On white
5.34
#4F5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#4F5FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FD5
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FD5 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f5fd5; /* rgb */ color: rgb(79, 95, 213); /* oklch */ color: oklch(53.9% 0.181 273.0);
Tailwind
colors: {
custom: {
50: '#8e8ce3',
500: '#4f5fd5',
950: '#000000',
},
}SCSS
$custom: #4f5fd5; $custom-light: #8e8ce3; $custom-dark: #000000;
JSON
{
"hex": "#4f5fd5",
"rgb": {
"r": 79,
"g": 95,
"b": 213
},
"hsl": {
"h": 232.836,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.53897,
"c": 0.18055,
"h": 273
},
"luminance": 0.14651
}Semantic roles & 50–950 ramp
primary
#4F5FD5
secondary
#DBD5A5
accent
#D143E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84