#4F56D1#4F56D1
#4F56D1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.186 H 275.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56D1 |
|---|---|
| RGB | rgb(79, 86, 209) |
| HSL | hsl(237, 59%, 56%) |
| HSV | hsv(237, 62%, 82%) |
| CMYK | cmyk(62.2%, 58.9%, 0%, 18%) |
| CIE-LAB | lab(42.64, 34.67, -64.53) |
| CIE-LCH | lch(42.64, 73.25, 298.25°) |
| OKLab | oklab(51.94% 0.0173 -0.1856) |
| OKLCH | oklch(51.94% 0.186 275.3) |
| XYZ | xyz(18.0571, 12.9198, 61.8514) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.39
Iris
#6258C4
ΔE00 3.55
Dark Periwinkle
#665FD1
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 5.00
Azul
#1D5DEC
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56D1 #D1CA4F
analogous
#4F97D1 #4F56D1 #894FD1
triadic
#4F56D1 #D14F56 #56D14F
tetradic
#4F56D1 #D14F97 #D1CA4F #4FD189
square
#4F56D1 #D14F97 #D1CA4F #4FD189
split-complementary
#4F56D1 #D1894F #97D14F
monochromatic
#222883 #2F36B4 #4F56D1 #8085DE #B0B3EA
Accessibility & contrast
On white
5.86
#4F56D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#4F56D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56D1
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56D1 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f56d1; /* rgb */ color: rgb(79, 86, 209); /* oklch */ color: oklch(51.9% 0.186 275.3);
Tailwind
colors: {
custom: {
50: '#8d85e0',
500: '#4f56d1',
950: '#000000',
},
}SCSS
$custom: #4f56d1; $custom-light: #8d85e0; $custom-dark: #000000;
JSON
{
"hex": "#4f56d1",
"rgb": {
"r": 79,
"g": 86,
"b": 209
},
"hsl": {
"h": 236.769,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.5194,
"c": 0.18643,
"h": 275.3
},
"luminance": 0.12921
}Semantic roles & 50–950 ramp
primary
#4F56D1
secondary
#D9D6A3
accent
#D946E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83