#4F56D2#4F56D2
#4F56D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.188 H 275.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56D2 |
|---|---|
| RGB | rgb(79, 86, 210) |
| HSL | hsl(237, 59%, 57%) |
| HSV | hsv(237, 62%, 82%) |
| CMYK | cmyk(62.4%, 59%, 0%, 17.6%) |
| CIE-LAB | lab(42.72, 35.00, -64.98) |
| CIE-LCH | lch(42.72, 73.81, 298.31°) |
| OKLab | oklab(52.02% 0.0173 -0.1869) |
| OKLCH | oklch(52.02% 0.188 275.3) |
| XYZ | xyz(18.1813, 12.9695, 62.5055) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.28
Iris
#6258C4
ΔE00 3.61
Dark Periwinkle
#665FD1
ΔE00 4.27
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.98
Azul
#1D5DEC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56D2 #D2CB4F
analogous
#4F98D2 #4F56D2 #8A4FD2
triadic
#4F56D2 #D24F56 #56D24F
tetradic
#4F56D2 #D24F98 #D2CB4F #4FD28A
square
#4F56D2 #D24F98 #D2CB4F #4FD28A
split-complementary
#4F56D2 #D28A4F #98D24F
monochromatic
#222785 #2E36B5 #4F56D2 #8085DE #B0B4EB
Accessibility & contrast
On white
5.84
#4F56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4F56D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56D2
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56D2 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f56d2; /* rgb */ color: rgb(79, 86, 210); /* oklch */ color: oklch(52.0% 0.188 275.3);
Tailwind
colors: {
custom: {
50: '#8e85e1',
500: '#4f56d2',
950: '#000000',
},
}SCSS
$custom: #4f56d2; $custom-light: #8e85e1; $custom-dark: #000000;
JSON
{
"hex": "#4f56d2",
"rgb": {
"r": 79,
"g": 86,
"b": 210
},
"hsl": {
"h": 236.794,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.52019,
"c": 0.18775,
"h": 275.3
},
"luminance": 0.12971
}Semantic roles & 50–950 ramp
primary
#4F56D2
secondary
#D9D6A4
accent
#DA45E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83