#545A8F#545A8F
#545A8F is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.6% C 0.085 H 277.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #545A8F |
|---|---|
| RGB | rgb(84, 90, 143) |
| HSL | hsl(234, 26%, 45%) |
| HSV | hsv(234, 41%, 56%) |
| CMYK | cmyk(41.3%, 37.1%, 0%, 43.9%) |
| CIE-LAB | lab(39.88, 11.82, -30.06) |
| CIE-LCH | lch(39.88, 32.30, 291.47°) |
| OKLab | oklab(48.62% 0.0116 -0.0844) |
| OKLCH | oklch(48.62% 0.085 277.8) |
| XYZ | xyz(12.2688, 11.1798, 27.4927) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.00
Twilight
#4E518B
ΔE00 3.05
Dusky Blue
#475F94
ΔE00 4.78
Denim Blue
#3B5B92
ΔE00 6.48
Blueberry
#464196
ΔE00 8.92
Dusk Blue
#26538D
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545A8F #8F8954
analogous
#54788F #545A8F #6C548F
triadic
#545A8F #8F545A #5A8F54
tetradic
#545A8F #8F5478 #8F8954 #548F6C
square
#545A8F #8F5478 #8F8954 #548F6C
split-complementary
#545A8F #8F6C54 #788F54
monochromatic
#272942 #3D4268 #545A8F #7379AD #9A9EC4
Accessibility & contrast
On white
6.49
#545A8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#545A8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545A8F
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545A8F | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#42646E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #545a8f; /* rgb */ color: rgb(84, 90, 143); /* oklch */ color: oklch(48.6% 0.085 277.8);
Tailwind
colors: {
custom: {
50: '#8788b0',
500: '#545a8f',
950: '#000000',
},
}SCSS
$custom: #545a8f; $custom-light: #8788b0; $custom-dark: #000000;
JSON
{
"hex": "#545a8f",
"rgb": {
"r": 84,
"g": 90,
"b": 143
},
"hsl": {
"h": 233.898,
"s": 25.991,
"l": 44.51
},
"oklch": {
"l": 0.48616,
"c": 0.08516,
"h": 277.8
},
"luminance": 0.1118
}Semantic roles & 50–950 ramp
primary
#545A8F
secondary
#B1AD8E
accent
#B965C2
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0B10
muted
#7C7C7F