#4A56BE#4A56BE
#4A56BE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.162 H 274.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4A56BE |
|---|---|
| RGB | rgb(74, 86, 190) |
| HSL | hsl(234, 47%, 52%) |
| HSV | hsv(234, 61%, 75%) |
| CMYK | cmyk(61.1%, 54.7%, 0%, 25.5%) |
| CIE-LAB | lab(40.94, 27.40, -56.30) |
| CIE-LCH | lch(40.94, 62.62, 295.95°) |
| OKLab | oklab(50.15% 0.0115 -0.1616) |
| OKLCH | oklch(50.15% 0.162 274.1) |
| XYZ | xyz(15.4430, 11.8279, 50.1744) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.00
Iris
#6258C4
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 5.85
Slate Blue
#6A5ACD
ΔE00 5.99
Sapphire
#0F52BA
ΔE00 6.03
Ocean Blue
#4F42B5
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A56BE #BEB24A
analogous
#4A90BE #4A56BE #784ABE
triadic
#4A56BE #BE4A56 #56BE4A
tetradic
#4A56BE #BE4A90 #BEB24A #4ABE78
square
#4A56BE #BE4A90 #BEB24A #4ABE78
split-complementary
#4A56BE #BE784A #90BE4A
monochromatic
#252C68 #363F95 #4A56BE #7780CE #A4AADE
Accessibility & contrast
On white
6.24
#4A56BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4A56BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A56BE
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A56BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A56BE | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4a56be; /* rgb */ color: rgb(74, 86, 190); /* oklch */ color: oklch(50.2% 0.162 274.1);
Tailwind
colors: {
custom: {
50: '#8885d2',
500: '#4a56be',
950: '#000000',
},
}SCSS
$custom: #4a56be; $custom-light: #8885d2; $custom-dark: #000000;
JSON
{
"hex": "#4a56be",
"rgb": {
"r": 74,
"g": 86,
"b": 190
},
"hsl": {
"h": 233.793,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.50154,
"c": 0.16197,
"h": 274.1
},
"luminance": 0.11829
}Semantic roles & 50–950 ramp
primary
#4A56BE
secondary
#CBC698
accent
#C951D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83