#4F56D5#4F56D5
#4F56D5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.192 H 275.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56D5 |
|---|---|
| RGB | rgb(79, 86, 213) |
| HSL | hsl(237, 61%, 57%) |
| HSV | hsv(237, 63%, 84%) |
| CMYK | cmyk(62.9%, 59.6%, 0%, 16.5%) |
| CIE-LAB | lab(42.94, 36.00, -66.33) |
| CIE-LCH | lch(42.94, 75.47, 298.49°) |
| OKLab | oklab(52.26% 0.0173 -0.1909) |
| OKLCH | oklch(52.26% 0.192 275.2) |
| XYZ | xyz(18.5585, 13.1204, 64.4924) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.95
Iris
#6258C4
ΔE00 3.79
Dark Periwinkle
#665FD1
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 4.96
Azul
#1D5DEC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56D5 #D5CE4F
analogous
#4F99D5 #4F56D5 #8B4FD5
triadic
#4F56D5 #D54F56 #56D54F
tetradic
#4F56D5 #D54F99 #D5CE4F #4FD58B
square
#4F56D5 #D54F99 #D5CE4F #4FD58B
split-complementary
#4F56D5 #D58B4F #99D54F
monochromatic
#212689 #2C34BA #4F56D5 #8085E1 #B2B5ED
Accessibility & contrast
On white
5.79
#4F56D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4F56D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56D5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56D5 | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f56d5; /* rgb */ color: rgb(79, 86, 213); /* oklch */ color: oklch(52.3% 0.192 275.2);
Tailwind
colors: {
custom: {
50: '#8e85e3',
500: '#4f56d5',
950: '#000000',
},
}SCSS
$custom: #4f56d5; $custom-light: #8e85e3; $custom-dark: #000000;
JSON
{
"hex": "#4f56d5",
"rgb": {
"r": 79,
"g": 86,
"b": 213
},
"hsl": {
"h": 236.866,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.52258,
"c": 0.19171,
"h": 275.2
},
"luminance": 0.13122
}Semantic roles & 50–950 ramp
primary
#4F56D5
secondary
#DBD8A5
accent
#DC43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84