#545AA1#545AA1

#545AA1 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.7% C 0.112 H 277.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#545AA1
RGBrgb(84, 90, 161)
HSLhsl(235, 31%, 48%)
HSVhsv(235, 48%, 63%)
CMYKcmyk(47.8%, 44.1%, 0%, 36.9%)
CIE-LABlab(40.85, 17.40, -39.33)
CIE-LCHlch(40.85, 43.01, 293.87°)
OKLaboklab(49.67% 0.0153 -0.1114)
OKLCHoklch(49.67% 0.112 277.8)
XYZxyz(13.7434, 11.7696, 35.2589)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA1 #A19B54
analogous
#5480A1 #545AA1 #7454A1
triadic
#545AA1 #A1545A #5AA154
tetradic
#545AA1 #A15480 #A19B54 #54A174
square
#545AA1 #A15480 #A19B54 #54A174
split-complementary
#545AA1 #A17454 #80A154
monochromatic
#2A2D51 #3F4479 #545AA1 #797EB9 #A1A5CE

Accessibility & contrast

On white

6.26
#545AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#545AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA1#FFFFFF#000000##FFFFFF
##545AA11.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A4
Deuteranopia (green-blind)
#385D9F
Tritanopia (blue-blind)
#386975
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545aa1;
/* rgb */ color: rgb(84, 90, 161);
/* oklch */ color: oklch(49.7% 0.112 277.8);
Tailwind
colors: {
  custom: {
    50: '#8988bd',
    500: '#545aa1',
    950: '#000000',
  },
}
SCSS
$custom: #545aa1;
$custom-light: #8988bd;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa1",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 161
  },
  "hsl": {
    "h": 235.325,
    "s": 31.429,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.11244,
    "h": 277.8
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#545AA1
secondary
#BBB895
accent
#C060C8
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545AA1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#545AA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva