#4A56CB#4A56CB
#4A56CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.180 H 273.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4A56CB |
|---|---|
| RGB | rgb(74, 86, 203) |
| HSL | hsl(234, 55%, 54%) |
| HSV | hsv(234, 64%, 80%) |
| CMYK | cmyk(63.5%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.88, 31.84, -62.33) |
| CIE-LCH | lch(41.88, 69.99, 297.06°) |
| OKLab | oklab(51.15% 0.0118 -0.1793) |
| OKLCH | oklch(51.15% 0.18 273.8) |
| XYZ | xyz(16.9278, 12.4218, 57.9939) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Iris
#6258C4
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.32
Azul
#1D5DEC
ΔE00 5.61
Light Indigo
#6D5ACF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A56CB #CBBF4A
analogous
#4A96CB #4A56CB #7F4ACB
triadic
#4A56CB #CB4A56 #56CB4A
tetradic
#4A56CB #CB4A96 #CBBF4A #4ACB7F
square
#4A56CB #CB4A96 #CBBF4A #4ACB7F
split-complementary
#4A56CB #CB7F4A #96CB4A
monochromatic
#232A78 #303BA8 #4A56CB #7A82D9 #A9AFE6
Accessibility & contrast
On white
6.03
#4A56CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4A56CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A56CB
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A56CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A56CB | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4a56cb; /* rgb */ color: rgb(74, 86, 203); /* oklch */ color: oklch(51.1% 0.180 273.8);
Tailwind
colors: {
custom: {
50: '#8a85dc',
500: '#4a56cb',
950: '#000000',
},
}SCSS
$custom: #4a56cb; $custom-light: #8a85dc; $custom-dark: #000000;
JSON
{
"hex": "#4a56cb",
"rgb": {
"r": 74,
"g": 86,
"b": 203
},
"hsl": {
"h": 234.419,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.5115,
"c": 0.17967,
"h": 273.8
},
"luminance": 0.12423
}Semantic roles & 50–950 ramp
primary
#4A56CB
secondary
#D4CF9D
accent
#D149DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83