#4F56D7#4F56D7
#4F56D7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.194 H 275.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56D7 |
|---|---|
| RGB | rgb(79, 86, 215) |
| HSL | hsl(237, 63%, 58%) |
| HSV | hsv(237, 63%, 84%) |
| CMYK | cmyk(63.3%, 60%, 0%, 15.7%) |
| CIE-LAB | lab(43.10, 36.67, -67.23) |
| CIE-LCH | lch(43.10, 76.58, 298.61°) |
| OKLab | oklab(52.42% 0.0172 -0.1936) |
| OKLCH | oklch(52.42% 0.194 275.1) |
| XYZ | xyz(18.8140, 13.2226, 65.8376) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.78
Iris
#6258C4
ΔE00 3.92
Dark Periwinkle
#665FD1
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 4.96
Electric Blue
#0652FF
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56D7 #D7D04F
analogous
#4F9AD7 #4F56D7 #8C4FD7
triadic
#4F56D7 #D74F56 #56D74F
tetradic
#4F56D7 #D74F9A #D7D04F #4FD78C
square
#4F56D7 #D74F9A #D7D04F #4FD78C
split-complementary
#4F56D7 #D78C4F #9AD74F
monochromatic
#20258C #2B33BE #4F56D7 #8186E2 #B3B6EE
Accessibility & contrast
On white
5.76
#4F56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#4F56D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56D7
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56D7 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f56d7; /* rgb */ color: rgb(79, 86, 215); /* oklch */ color: oklch(52.4% 0.194 275.1);
Tailwind
colors: {
custom: {
50: '#8e85e4',
500: '#4f56d7',
950: '#000000',
},
}SCSS
$custom: #4f56d7; $custom-light: #8e85e4; $custom-dark: #000000;
JSON
{
"hex": "#4f56d7",
"rgb": {
"r": 79,
"g": 86,
"b": 215
},
"hsl": {
"h": 236.912,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.52418,
"c": 0.19432,
"h": 275.1
},
"luminance": 0.13224
}Semantic roles & 50–950 ramp
primary
#4F56D7
secondary
#DCD9A6
accent
#DE42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84