#4F56DA#4F56DA
#4F56DA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.198 H 275.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56DA |
|---|---|
| RGB | rgb(79, 86, 218) |
| HSL | hsl(237, 65%, 58%) |
| HSV | hsv(237, 64%, 85%) |
| CMYK | cmyk(63.8%, 60.6%, 0%, 14.5%) |
| CIE-LAB | lab(43.33, 37.67, -68.57) |
| CIE-LCH | lch(43.33, 78.24, 298.78°) |
| OKLab | oklab(52.66% 0.0171 -0.1975) |
| OKLCH | oklch(52.66% 0.198 275) |
| XYZ | xyz(19.2030, 13.3782, 67.8864) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.66
Iris
#6258C4
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.98
Electric Blue
#0652FF
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56DA #DAD34F
analogous
#4F9CDA #4F56DA #8D4FDA
triadic
#4F56DA #DA4F56 #56DA4F
tetradic
#4F56DA #DA4F9C #DAD34F #4FDA8D
square
#4F56DA #DA4F9C #DAD34F #4FDA8D
split-complementary
#4F56DA #DA8D4F #9CDA4F
monochromatic
#1E2490 #2931C3 #4F56DA #8287E5 #B4B7EF
Accessibility & contrast
On white
5.71
#4F56DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#4F56DA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56DA
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56DA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56DA | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f56da; /* rgb */ color: rgb(79, 86, 218); /* oklch */ color: oklch(52.7% 0.198 275.0);
Tailwind
colors: {
custom: {
50: '#8f86e6',
500: '#4f56da',
950: '#000000',
},
}SCSS
$custom: #4f56da; $custom-light: #8f86e6; $custom-dark: #000000;
JSON
{
"hex": "#4f56da",
"rgb": {
"r": 79,
"g": 86,
"b": 218
},
"hsl": {
"h": 236.978,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.52661,
"c": 0.19823,
"h": 275
},
"luminance": 0.1338
}Semantic roles & 50–950 ramp
primary
#4F56DA
secondary
#DEDBA7
accent
#E040E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84