#545AC4#545AC4
#545AC4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.163 H 276.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #545AC4 |
|---|---|
| RGB | rgb(84, 90, 196) |
| HSL | hsl(237, 49%, 55%) |
| HSV | hsv(237, 57%, 77%) |
| CMYK | cmyk(57.1%, 54.1%, 0%, 23.1%) |
| CIE-LAB | lab(43.04, 28.75, -56.38) |
| CIE-LCH | lch(43.04, 63.28, 297.02°) |
| OKLab | oklab(52.03% 0.019 -0.1615) |
| OKLCH | oklch(52.03% 0.163 276.7) |
| XYZ | xyz(17.2729, 13.1814, 53.8479) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.79
Warm Blue
#4B57DB
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 3.83
Slate Blue
#6A5ACD
ΔE00 4.23
Light Indigo
#6D5ACF
ΔE00 4.83
Azul
#1D5DEC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AC4 #C4BE54
analogous
#5492C4 #545AC4 #8654C4
triadic
#545AC4 #C4545A #5AC454
tetradic
#545AC4 #C45492 #C4BE54 #54C486
square
#545AC4 #C45492 #C4BE54 #54C486
split-complementary
#545AC4 #C48654 #92C454
monochromatic
#282D75 #383EA3 #545AC4 #8286D4 #AFB2E3
Accessibility & contrast
On white
5.77
#545AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#545AC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AC4
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AC4 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166AC8
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#0F7286
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545ac4; /* rgb */ color: rgb(84, 90, 196); /* oklch */ color: oklch(52.0% 0.163 276.7);
Tailwind
colors: {
custom: {
50: '#8e88d7',
500: '#545ac4',
950: '#000000',
},
}SCSS
$custom: #545ac4; $custom-light: #8e88d7; $custom-dark: #000000;
JSON
{
"hex": "#545ac4",
"rgb": {
"r": 84,
"g": 90,
"b": 196
},
"hsl": {
"h": 236.786,
"s": 48.696,
"l": 54.902
},
"oklch": {
"l": 0.52026,
"c": 0.16258,
"h": 276.7
},
"luminance": 0.13183
}Semantic roles & 50–950 ramp
primary
#545AC4
secondary
#D1CFA2
accent
#D150D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83