#4A56D8#4A56D8
#4A56D8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.197 H 273.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4A56D8 |
|---|---|
| RGB | rgb(74, 86, 216) |
| HSL | hsl(235, 65%, 57%) |
| HSV | hsv(235, 66%, 85%) |
| CMYK | cmyk(65.7%, 60.2%, 0%, 15.3%) |
| CIE-LAB | lab(42.86, 36.26, -68.19) |
| CIE-LCH | lch(42.86, 77.23, 298.00°) |
| OKLab | oklab(52.19% 0.0117 -0.1965) |
| OKLCH | oklch(52.19% 0.197 273.4) |
| XYZ | xyz(18.5424, 13.0676, 66.4976) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.53
Iris
#6258C4
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 4.75
Azul
#1D5DEC
ΔE00 4.80
Electric Blue
#0652FF
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A56D8 #D8CC4A
analogous
#4A9DD8 #4A56D8 #854AD8
triadic
#4A56D8 #D84A56 #56D84A
tetradic
#4A56D8 #D84A9D #D8CC4A #4AD885
square
#4A56D8 #D84A9D #D8CC4A #4AD885
split-complementary
#4A56D8 #D8854A #9DD84A
monochromatic
#1E278A #2935BC #4A56D8 #7C85E3 #AFB4EE
Accessibility & contrast
On white
5.81
#4A56D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#4A56D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A56D8
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A56D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A56D8 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4a56d8; /* rgb */ color: rgb(74, 86, 216); /* oklch */ color: oklch(52.2% 0.197 273.4);
Tailwind
colors: {
custom: {
50: '#8c85e5',
500: '#4a56d8',
950: '#000000',
},
}SCSS
$custom: #4a56d8; $custom-light: #8c85e5; $custom-dark: #000000;
JSON
{
"hex": "#4a56d8",
"rgb": {
"r": 74,
"g": 86,
"b": 216
},
"hsl": {
"h": 234.93,
"s": 64.545,
"l": 56.863
},
"oklch": {
"l": 0.5219,
"c": 0.19687,
"h": 273.4
},
"luminance": 0.13069
}Semantic roles & 50–950 ramp
primary
#4A56D8
secondary
#DCD7A2
accent
#D940E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84