#4F56D6#4F56D6
#4F56D6 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.193 H 275.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56D6 |
|---|---|
| RGB | rgb(79, 86, 214) |
| HSL | hsl(237, 62%, 57%) |
| HSV | hsv(237, 63%, 84%) |
| CMYK | cmyk(63.1%, 59.8%, 0%, 16.1%) |
| CIE-LAB | lab(43.02, 36.34, -66.78) |
| CIE-LCH | lch(43.02, 76.03, 298.55°) |
| OKLab | oklab(52.34% 0.0173 -0.1922) |
| OKLCH | oklch(52.34% 0.193 275.1) |
| XYZ | xyz(18.6859, 13.1713, 65.1629) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.86
Iris
#6258C4
ΔE00 3.85
Dark Periwinkle
#665FD1
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.96
Electric Blue
#0652FF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56D6 #D6CF4F
analogous
#4F99D6 #4F56D6 #8C4FD6
triadic
#4F56D6 #D64F56 #56D64F
tetradic
#4F56D6 #D64F99 #D6CF4F #4FD68C
square
#4F56D6 #D64F99 #D6CF4F #4FD68C
split-complementary
#4F56D6 #D68C4F #99D64F
monochromatic
#20268A #2C33BC #4F56D6 #8186E2 #B2B5ED
Accessibility & contrast
On white
5.78
#4F56D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4F56D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56D6
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56D6 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f56d6; /* rgb */ color: rgb(79, 86, 214); /* oklch */ color: oklch(52.3% 0.193 275.1);
Tailwind
colors: {
custom: {
50: '#8e85e4',
500: '#4f56d6',
950: '#000000',
},
}SCSS
$custom: #4f56d6; $custom-light: #8e85e4; $custom-dark: #000000;
JSON
{
"hex": "#4f56d6",
"rgb": {
"r": 79,
"g": 86,
"b": 214
},
"hsl": {
"h": 236.889,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.52338,
"c": 0.19302,
"h": 275.1
},
"luminance": 0.13173
}Semantic roles & 50–950 ramp
primary
#4F56D6
secondary
#DCD9A5
accent
#DD43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84