#4A57CB#4A57CB
#4A57CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.178 H 273.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4A57CB |
|---|---|
| RGB | rgb(74, 87, 203) |
| HSL | hsl(234, 55%, 54%) |
| HSV | hsv(234, 64%, 80%) |
| CMYK | cmyk(63.5%, 57.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.13, 31.21, -61.93) |
| CIE-LCH | lch(42.13, 69.35, 296.75°) |
| OKLab | oklab(51.33% 0.0109 -0.1781) |
| OKLCH | oklch(51.33% 0.178 273.5) |
| XYZ | xyz(17.0082, 12.5826, 58.0207) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.18
Iris
#6258C4
ΔE00 4.07
Dark Periwinkle
#665FD1
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.33
Azul
#1D5DEC
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A57CB #CBBE4A
analogous
#4A98CB #4A57CB #7D4ACB
triadic
#4A57CB #CB4A57 #57CB4A
tetradic
#4A57CB #CB4A98 #CBBE4A #4ACB7D
square
#4A57CB #CB4A98 #CBBE4A #4ACB7D
split-complementary
#4A57CB #CB7D4A #98CB4A
monochromatic
#232B78 #303CA8 #4A57CB #7A83D9 #A9AFE6
Accessibility & contrast
On white
5.97
#4A57CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#4A57CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A57CB
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A57CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A57CB | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4a57cb; /* rgb */ color: rgb(74, 87, 203); /* oklch */ color: oklch(51.3% 0.178 273.5);
Tailwind
colors: {
custom: {
50: '#8a86dc',
500: '#4a57cb',
950: '#000000',
},
}SCSS
$custom: #4a57cb; $custom-light: #8a86dc; $custom-dark: #000000;
JSON
{
"hex": "#4a57cb",
"rgb": {
"r": 74,
"g": 87,
"b": 203
},
"hsl": {
"h": 233.953,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.51335,
"c": 0.17841,
"h": 273.5
},
"luminance": 0.12584
}Semantic roles & 50–950 ramp
primary
#4A57CB
secondary
#D4CE9D
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83