#4A56BB#4A56BB
#4A56BB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.158 H 274.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4A56BB |
|---|---|
| RGB | rgb(74, 86, 187) |
| HSL | hsl(234, 45%, 51%) |
| HSV | hsv(234, 60%, 73%) |
| CMYK | cmyk(60.4%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(40.73, 26.38, -54.89) |
| CIE-LCH | lch(40.73, 60.90, 295.66°) |
| OKLab | oklab(49.93% 0.0113 -0.1574) |
| OKLCH | oklch(49.93% 0.158 274.1) |
| XYZ | xyz(15.1185, 11.6981, 48.4653) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.43
Iris
#6258C4
ΔE00 4.43
Sapphire
#0F52BA
ΔE00 5.95
Dark Periwinkle
#665FD1
ΔE00 6.09
Slate Blue
#6A5ACD
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A56BB #BBAF4A
analogous
#4A8EBB #4A56BB #764ABB
triadic
#4A56BB #BB4A56 #56BB4A
tetradic
#4A56BB #BB4A8E #BBAF4A #4ABB76
square
#4A56BB #BB4A8E #BBAF4A #4ABB76
split-complementary
#4A56BB #BB764A #8EBB4A
monochromatic
#262D65 #374091 #4A56BB #7680CC #A3A9DC
Accessibility & contrast
On white
6.29
#4A56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4A56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A56BB
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A56BB | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4a56bb; /* rgb */ color: rgb(74, 86, 187); /* oklch */ color: oklch(49.9% 0.158 274.1);
Tailwind
colors: {
custom: {
50: '#8785d0',
500: '#4a56bb',
950: '#000000',
},
}SCSS
$custom: #4a56bb; $custom-light: #8785d0; $custom-dark: #000000;
JSON
{
"hex": "#4a56bb",
"rgb": {
"r": 74,
"g": 86,
"b": 187
},
"hsl": {
"h": 233.628,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.49931,
"c": 0.15781,
"h": 274.1
},
"luminance": 0.11699
}Semantic roles & 50–950 ramp
primary
#4A56BB
secondary
#C9C497
accent
#C753D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82