#545AA4#545AA4

#545AA4 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.117 H 277.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#545AA4
RGBrgb(84, 90, 164)
HSLhsl(236, 32%, 49%)
HSVhsv(236, 49%, 64%)
CMYKcmyk(48.8%, 45.1%, 0%, 35.7%)
CIE-LABlab(41.02, 18.35, -40.84)
CIE-LCHlch(41.02, 44.77, 294.20°)
OKLaboklab(49.86% 0.0158 -0.1158)
OKLCHoklch(49.86% 0.117 277.8)
XYZxyz(14.0111, 11.8767, 36.6689)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA4 #A49E54
analogous
#5482A4 #545AA4 #7654A4
triadic
#545AA4 #A4545A #5AA454
tetradic
#545AA4 #A45482 #A49E54 #54A476
square
#545AA4 #A45482 #A49E54 #54A476
split-complementary
#545AA4 #A47654 #82A454
monochromatic
#2B2E53 #3F447C #545AA4 #7A7FBB #A3A6D0

Accessibility & contrast

On white

6.22
#545AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#545AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA4#FFFFFF#000000##FFFFFF
##545AA41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#355EA2
Tritanopia (blue-blind)
#366A77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545aa4;
/* rgb */ color: rgb(84, 90, 164);
/* oklch */ color: oklch(49.9% 0.117 277.8);
Tailwind
colors: {
  custom: {
    50: '#8988bf',
    500: '#545aa4',
    950: '#000000',
  },
}
SCSS
$custom: #545aa4;
$custom-light: #8988bf;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa4",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 235.5,
    "s": 32.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.11689,
    "h": 277.8
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#545AA4
secondary
#BDBA97
accent
#C15FC8
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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