#4C5EBA#4C5EBA
#4C5EBA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.145 H 272.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5EBA |
|---|---|
| RGB | rgb(76, 94, 186) |
| HSL | hsl(230, 44%, 51%) |
| HSV | hsv(230, 59%, 73%) |
| CMYK | cmyk(59.1%, 49.5%, 0%, 27.1%) |
| CIE-LAB | lab(42.89, 21.33, -50.82) |
| CIE-LCH | lch(42.89, 55.11, 292.77°) |
| OKLab | oklab(51.57% 0.0052 -0.1453) |
| OKLCH | oklch(51.57% 0.145 272) |
| XYZ | xyz(15.8432, 13.0858, 48.1358) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 5.18
Iris
#6258C4
ΔE00 5.35
Dusky Blue
#475F94
ΔE00 5.69
Dark Periwinkle
#665FD1
ΔE00 5.89
French Blue
#436BAD
ΔE00 6.14
Royal Blue
#4169E1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5EBA #BAA84C
analogous
#4C95BA #4C5EBA #714CBA
triadic
#4C5EBA #BA4C5E #5EBA4C
tetradic
#4C5EBA #BA4C95 #BAA84C #4CBA71
square
#4C5EBA #BA4C95 #BAA84C #4CBA71
split-complementary
#4C5EBA #BA714C #95BA4C
monochromatic
#273165 #384691 #4C5EBA #7886CB #A4ADDC
Accessibility & contrast
On white
5.81
#4C5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4C5EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5EBA
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5EBA | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4c5eba; /* rgb */ color: rgb(76, 94, 186); /* oklch */ color: oklch(51.6% 0.145 272.0);
Tailwind
colors: {
custom: {
50: '#888bcf',
500: '#4c5eba',
950: '#000000',
},
}SCSS
$custom: #4c5eba; $custom-light: #888bcf; $custom-dark: #000000;
JSON
{
"hex": "#4c5eba",
"rgb": {
"r": 76,
"g": 94,
"b": 186
},
"hsl": {
"h": 230.182,
"s": 44.355,
"l": 51.373
},
"oklch": {
"l": 0.51571,
"c": 0.14537,
"h": 272
},
"luminance": 0.13087
}Semantic roles & 50–950 ramp
primary
#4C5EBA
secondary
#C9C199
accent
#BF54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82