#4C5ABA#4C5ABA
#4C5ABA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.151 H 273.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5ABA |
|---|---|
| RGB | rgb(76, 90, 186) |
| HSL | hsl(232, 44%, 51%) |
| HSV | hsv(232, 59%, 73%) |
| CMYK | cmyk(59.1%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(41.83, 23.87, -52.52) |
| CIE-LCH | lch(41.83, 57.69, 294.44°) |
| OKLab | oklab(50.77% 0.0094 -0.1503) |
| OKLCH | oklch(50.77% 0.151 273.6) |
| XYZ | xyz(15.4967, 12.3928, 48.0203) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 4.68
Dark Periwinkle
#665FD1
ΔE00 5.76
Dusky Blue
#475F94
ΔE00 6.21
Sapphire
#0F52BA
ΔE00 6.22
Slate Blue
#6A5ACD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5ABA #BAAC4C
analogous
#4C91BA #4C5ABA #754CBA
triadic
#4C5ABA #BA4C5A #5ABA4C
tetradic
#4C5ABA #BA4C91 #BAAC4C #4CBA75
square
#4C5ABA #BA4C91 #BAAC4C #4CBA75
split-complementary
#4C5ABA #BA754C #91BA4C
monochromatic
#272F65 #384391 #4C5ABA #7883CB #A4ABDC
Accessibility & contrast
On white
6.04
#4C5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4C5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5ABA
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5ABA | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BD
Deuteranopia (green-blind)
#095EB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4c5aba; /* rgb */ color: rgb(76, 90, 186); /* oklch */ color: oklch(50.8% 0.151 273.6);
Tailwind
colors: {
custom: {
50: '#8888cf',
500: '#4c5aba',
950: '#000000',
},
}SCSS
$custom: #4c5aba; $custom-light: #8888cf; $custom-dark: #000000;
JSON
{
"hex": "#4c5aba",
"rgb": {
"r": 76,
"g": 90,
"b": 186
},
"hsl": {
"h": 232.364,
"s": 44.355,
"l": 51.373
},
"oklch": {
"l": 0.50771,
"c": 0.15063,
"h": 273.6
},
"luminance": 0.12394
}Semantic roles & 50–950 ramp
primary
#4C5ABA
secondary
#C9C399
accent
#C454D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82