#545AC0#545AC0
#545AC0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.157 H 276.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #545AC0 |
|---|---|
| RGB | rgb(84, 90, 192) |
| HSL | hsl(237, 46%, 54%) |
| HSV | hsv(237, 56%, 75%) |
| CMYK | cmyk(56.3%, 53.1%, 0%, 24.7%) |
| CIE-LAB | lab(42.77, 27.43, -54.49) |
| CIE-LCH | lch(42.77, 61.01, 296.72°) |
| OKLab | oklab(51.74% 0.0188 -0.1559) |
| OKLCH | oklch(51.74% 0.157 276.9) |
| XYZ | xyz(16.8237, 13.0018, 51.4820) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.90
Warm Blue
#4B57DB
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 5.11
Azul
#1D5DEC
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AC0 #C0BA54
analogous
#5490C0 #545AC0 #8454C0
triadic
#545AC0 #C0545A #5AC054
tetradic
#545AC0 #C05490 #C0BA54 #54C084
square
#545AC0 #C05490 #C0BA54 #54C084
split-complementary
#545AC0 #C08454 #90C054
monochromatic
#292D70 #3A3F9D #545AC0 #8185D0 #ADB0E1
Accessibility & contrast
On white
5.83
#545AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#545AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AC0
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AC0 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#0161BE
Tritanopia (blue-blind)
#187184
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #545ac0; /* rgb */ color: rgb(84, 90, 192); /* oklch */ color: oklch(51.7% 0.157 276.9);
Tailwind
colors: {
custom: {
50: '#8d88d4',
500: '#545ac0',
950: '#000000',
},
}SCSS
$custom: #545ac0; $custom-light: #8d88d4; $custom-dark: #000000;
JSON
{
"hex": "#545ac0",
"rgb": {
"r": 84,
"g": 90,
"b": 192
},
"hsl": {
"h": 236.667,
"s": 46.154,
"l": 54.118
},
"oklch": {
"l": 0.51738,
"c": 0.15705,
"h": 276.9
},
"luminance": 0.13003
}Semantic roles & 50–950 ramp
primary
#545AC0
secondary
#CFCCA1
accent
#CE52D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83