#4C54DB#4C54DB
#4C54DB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.2% C 0.203 H 274.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4C54DB |
|---|---|
| RGB | rgb(76, 84, 219) |
| HSL | hsl(237, 67%, 58%) |
| HSV | hsv(237, 65%, 86%) |
| CMYK | cmyk(65.3%, 61.6%, 0%, 14.1%) |
| CIE-LAB | lab(42.75, 38.78, -70.09) |
| CIE-LCH | lch(42.75, 80.11, 298.96°) |
| OKLab | oklab(52.21% 0.0154 -0.2021) |
| OKLCH | oklch(52.21% 0.203 274.3) |
| XYZ | xyz(18.9328, 12.9900, 68.5137) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.96
Iris
#6258C4
ΔE00 4.50
Electric Blue
#0652FF
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.02
Azul
#1D5DEC
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C54DB #DBD34C
analogous
#4C9CDB #4C54DB #8B4CDB
triadic
#4C54DB #DB4C54 #54DB4C
tetradic
#4C54DB #DB4C9C #DBD34C #4CDB8B
square
#4C54DB #DB4C9C #DBD34C #4CDB8B
split-complementary
#4C54DB #DB8B4C #9CDB4C
monochromatic
#1D2390 #2730C3 #4C54DB #7F85E5 #B2B5EF
Accessibility & contrast
On white
5.84
#4C54DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#4C54DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C54DB
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C54DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C54DB | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4c54db; /* rgb */ color: rgb(76, 84, 219); /* oklch */ color: oklch(52.2% 0.203 274.3);
Tailwind
colors: {
custom: {
50: '#8e84e7',
500: '#4c54db',
950: '#000000',
},
}SCSS
$custom: #4c54db; $custom-light: #8e84e7; $custom-dark: #000000;
JSON
{
"hex": "#4c54db",
"rgb": {
"r": 76,
"g": 84,
"b": 219
},
"hsl": {
"h": 236.643,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.52209,
"c": 0.20264,
"h": 274.3
},
"luminance": 0.12992
}Semantic roles & 50–950 ramp
primary
#4C54DB
secondary
#DEDBA5
accent
#E03EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84