#545AC8#545AC8
#545AC8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.168 H 276.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #545AC8 |
|---|---|
| RGB | rgb(84, 90, 200) |
| HSL | hsl(237, 51%, 56%) |
| HSV | hsv(237, 58%, 78%) |
| CMYK | cmyk(58%, 55%, 0%, 21.6%) |
| CIE-LAB | lab(43.31, 30.07, -58.25) |
| CIE-LCH | lch(43.31, 65.55, 297.30°) |
| OKLab | oklab(52.32% 0.0192 -0.167) |
| OKLCH | oklch(52.32% 0.168 276.5) |
| XYZ | xyz(17.7343, 13.3660, 56.2778) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.77
Iris
#6258C4
ΔE00 2.80
Dark Periwinkle
#665FD1
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.62
Azul
#1D5DEC
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AC8 #C8C254
analogous
#5494C8 #545AC8 #8854C8
triadic
#545AC8 #C8545A #5AC854
tetradic
#545AC8 #C85494 #C8C254 #54C888
square
#545AC8 #C85494 #C8C254 #54C888
split-complementary
#545AC8 #C88854 #94C854
monochromatic
#272C7A #363CA9 #545AC8 #8287D7 #B1B3E6
Accessibility & contrast
On white
5.72
#545AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#545AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AC8
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AC8 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#017488
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545ac8; /* rgb */ color: rgb(84, 90, 200); /* oklch */ color: oklch(52.3% 0.168 276.5);
Tailwind
colors: {
custom: {
50: '#8e88d9',
500: '#545ac8',
950: '#000000',
},
}SCSS
$custom: #545ac8; $custom-light: #8e88d9; $custom-dark: #000000;
JSON
{
"hex": "#545ac8",
"rgb": {
"r": 84,
"g": 90,
"b": 200
},
"hsl": {
"h": 236.897,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.52318,
"c": 0.16808,
"h": 276.5
},
"luminance": 0.13367
}Semantic roles & 50–950 ramp
primary
#545AC8
secondary
#D4D2A4
accent
#D34DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83