#4A54DC#4A54DC
#4A54DC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.2% C 0.204 H 273.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4A54DC |
|---|---|
| RGB | rgb(74, 84, 220) |
| HSL | hsl(236, 68%, 58%) |
| HSV | hsv(236, 66%, 86%) |
| CMYK | cmyk(66.4%, 61.8%, 0%, 13.7%) |
| CIE-LAB | lab(42.71, 38.84, -70.74) |
| CIE-LCH | lch(42.71, 80.70, 298.77°) |
| OKLab | oklab(52.17% 0.0131 -0.204) |
| OKLCH | oklch(52.17% 0.204 273.7) |
| XYZ | xyz(18.9083, 12.9621, 69.2017) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.91
Electric Blue
#0652FF
ΔE00 4.50
Iris
#6258C4
ΔE00 4.73
Dark Periwinkle
#665FD1
ΔE00 5.04
Azul
#1D5DEC
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A54DC #DCD24A
analogous
#4A9DDC #4A54DC #894ADC
triadic
#4A54DC #DC4A54 #54DC4A
tetradic
#4A54DC #DC4A9D #DCD24A #4ADC89
square
#4A54DC #DC4A9D #DCD24A #4ADC89
split-complementary
#4A54DC #DC894A #9DDC4A
monochromatic
#1C2490 #2631C3 #4A54DC #7D84E6 #B1B5F0
Accessibility & contrast
On white
5.85
#4A54DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4A54DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A54DC
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A54DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A54DC | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4a54dc; /* rgb */ color: rgb(74, 84, 220); /* oklch */ color: oklch(52.2% 0.204 273.7);
Tailwind
colors: {
custom: {
50: '#8d84e8',
500: '#4a54dc',
950: '#000000',
},
}SCSS
$custom: #4a54dc; $custom-light: #8d84e8; $custom-dark: #000000;
JSON
{
"hex": "#4a54dc",
"rgb": {
"r": 74,
"g": 84,
"b": 220
},
"hsl": {
"h": 235.89,
"s": 67.593,
"l": 57.647
},
"oklch": {
"l": 0.52171,
"c": 0.20442,
"h": 273.7
},
"luminance": 0.12964
}Semantic roles & 50–950 ramp
primary
#4A54DC
secondary
#DEDAA4
accent
#DF3DEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84