#545AC5#545AC5
#545AC5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.164 H 276.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #545AC5 |
|---|---|
| RGB | rgb(84, 90, 197) |
| HSL | hsl(237, 49%, 55%) |
| HSV | hsv(237, 57%, 77%) |
| CMYK | cmyk(57.4%, 54.3%, 0%, 22.7%) |
| CIE-LAB | lab(43.10, 29.08, -56.85) |
| CIE-LCH | lch(43.10, 63.85, 297.09°) |
| OKLab | oklab(52.1% 0.0191 -0.1628) |
| OKLCH | oklch(52.1% 0.164 276.7) |
| XYZ | xyz(17.3871, 13.2271, 54.4494) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.78
Warm Blue
#4B57DB
ΔE00 3.16
Dark Periwinkle
#665FD1
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.78
Azul
#1D5DEC
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AC5 #C5BF54
analogous
#5493C5 #545AC5 #8654C5
triadic
#545AC5 #C5545A #5AC554
tetradic
#545AC5 #C55493 #C5BF54 #54C586
square
#545AC5 #C55493 #C5BF54 #54C586
split-complementary
#545AC5 #C58654 #93C554
monochromatic
#282C76 #383DA4 #545AC5 #8286D5 #AFB2E4
Accessibility & contrast
On white
5.76
#545AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#545AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AC5
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AC5 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#136BC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#0C7387
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545ac5; /* rgb */ color: rgb(84, 90, 197); /* oklch */ color: oklch(52.1% 0.164 276.7);
Tailwind
colors: {
custom: {
50: '#8e88d7',
500: '#545ac5',
950: '#000000',
},
}SCSS
$custom: #545ac5; $custom-light: #8e88d7; $custom-dark: #000000;
JSON
{
"hex": "#545ac5",
"rgb": {
"r": 84,
"g": 90,
"b": 197
},
"hsl": {
"h": 236.814,
"s": 49.345,
"l": 55.098
},
"oklch": {
"l": 0.52098,
"c": 0.16396,
"h": 276.7
},
"luminance": 0.13228
}Semantic roles & 50–950 ramp
primary
#545AC5
secondary
#D2D0A3
accent
#D24FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83