#4A56BF#4A56BF
#4A56BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.163 H 274.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4A56BF |
|---|---|
| RGB | rgb(74, 86, 191) |
| HSL | hsl(234, 48%, 52%) |
| HSV | hsv(234, 61%, 75%) |
| CMYK | cmyk(61.3%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(41.01, 27.74, -56.77) |
| CIE-LCH | lch(41.01, 63.19, 296.04°) |
| OKLab | oklab(50.23% 0.0115 -0.1629) |
| OKLCH | oklch(50.23% 0.163 274) |
| XYZ | xyz(15.5527, 11.8718, 50.7520) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.86
Iris
#6258C4
ΔE00 4.23
Dark Periwinkle
#665FD1
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 5.92
Sapphire
#0F52BA
ΔE00 6.06
Light Indigo
#6D5ACF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A56BF #BFB34A
analogous
#4A91BF #4A56BF #794ABF
triadic
#4A56BF #BF4A56 #56BF4A
tetradic
#4A56BF #BF4A91 #BFB34A #4ABF79
square
#4A56BF #BF4A91 #BFB34A #4ABF79
split-complementary
#4A56BF #BF794A #91BF4A
monochromatic
#252C69 #353F97 #4A56BF #7780CF #A4AADF
Accessibility & contrast
On white
6.22
#4A56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4A56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A56BF
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A56BF | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0566C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4a56bf; /* rgb */ color: rgb(74, 86, 191); /* oklch */ color: oklch(50.2% 0.163 274.0);
Tailwind
colors: {
custom: {
50: '#8885d3',
500: '#4a56bf',
950: '#000000',
},
}SCSS
$custom: #4a56bf; $custom-light: #8885d3; $custom-dark: #000000;
JSON
{
"hex": "#4a56bf",
"rgb": {
"r": 74,
"g": 86,
"b": 191
},
"hsl": {
"h": 233.846,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.50229,
"c": 0.16335,
"h": 274
},
"luminance": 0.11873
}Semantic roles & 50–950 ramp
primary
#4A56BF
secondary
#CCC799
accent
#CA50D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83