#545C8A#545C8A

#545C8A is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.8% C 0.075 H 275.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#545C8A
RGBrgb(84, 92, 138)
HSLhsl(231, 24%, 44%)
HSVhsv(231, 39%, 54%)
CMYKcmyk(39.1%, 33.3%, 0%, 45.9%)
CIE-LABlab(40.20, 9.06, -26.54)
CIE-LCHlch(40.20, 28.04, 288.85°)
OKLaboklab(48.78% 0.0075 -0.0742)
OKLCHoklch(48.78% 0.075 275.7)
XYZxyz(12.0694, 11.3736, 25.5992)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C8A #8A8254
analogous
#54778A #545C8A #67548A
triadic
#545C8A #8A545C #5C8A54
tetradic
#545C8A #8A5477 #8A8254 #548A67
square
#545C8A #8A5477 #8A8254 #548A67
split-complementary
#545C8A #8A6754 #778A54
monochromatic
#26293E #3D4364 #545C8A #727AA9 #989EC0

Accessibility & contrast

On white

6.41
#545C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#545C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545C8A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C8A#FFFFFF#000000##FFFFFF
##545C8A1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#44656D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #545c8a;
/* rgb */ color: rgb(84, 92, 138);
/* oklch */ color: oklch(48.8% 0.075 275.7);
Tailwind
colors: {
  custom: {
    50: '#868aac',
    500: '#545c8a',
    950: '#000000',
  },
}
SCSS
$custom: #545c8a;
$custom-light: #868aac;
$custom-dark: #000000;
JSON
{
  "hex": "#545c8a",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 231.111,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.07453,
    "h": 275.7
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#545C8A
secondary
#AEA98C
accent
#B367C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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