#4A57BE#4A57BE
#4A57BE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.161 H 273.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4A57BE |
|---|---|
| RGB | rgb(74, 87, 190) |
| HSL | hsl(233, 47%, 52%) |
| HSV | hsv(233, 61%, 75%) |
| CMYK | cmyk(61.1%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(41.20, 26.76, -55.89) |
| CIE-LCH | lch(41.20, 61.97, 295.59°) |
| OKLab | oklab(50.35% 0.0105 -0.1603) |
| OKLCH | oklch(50.35% 0.161 273.7) |
| XYZ | xyz(15.5234, 11.9887, 50.2012) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.00
Iris
#6258C4
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 5.77
Sapphire
#0F52BA
ΔE00 5.99
Slate Blue
#6A5ACD
ΔE00 6.02
Light Indigo
#6D5ACF
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A57BE #BEB14A
analogous
#4A91BE #4A57BE #774ABE
triadic
#4A57BE #BE4A57 #57BE4A
tetradic
#4A57BE #BE4A91 #BEB14A #4ABE77
square
#4A57BE #BE4A91 #BEB14A #4ABE77
split-complementary
#4A57BE #BE774A #91BE4A
monochromatic
#252D68 #364095 #4A57BE #7781CE #A4ABDE
Accessibility & contrast
On white
6.18
#4A57BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4A57BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A57BE
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A57BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A57BE | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1066C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4a57be; /* rgb */ color: rgb(74, 87, 190); /* oklch */ color: oklch(50.3% 0.161 273.7);
Tailwind
colors: {
custom: {
50: '#8886d2',
500: '#4a57be',
950: '#000000',
},
}SCSS
$custom: #4a57be; $custom-light: #8886d2; $custom-dark: #000000;
JSON
{
"hex": "#4a57be",
"rgb": {
"r": 74,
"g": 87,
"b": 190
},
"hsl": {
"h": 233.276,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.50346,
"c": 0.16067,
"h": 273.7
},
"luminance": 0.1199
}Semantic roles & 50–950 ramp
primary
#4A57BE
secondary
#CBC698
accent
#C851D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83