#545C8D#545C8D

#545C8D is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.9% C 0.079 H 276.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#545C8D
RGBrgb(84, 92, 141)
HSLhsl(232, 25%, 44%)
HSVhsv(232, 40%, 55%)
CMYKcmyk(40.4%, 34.8%, 0%, 44.7%)
CIE-LABlab(40.35, 9.96, -28.12)
CIE-LCHlch(40.35, 29.84, 289.50°)
OKLaboklab(48.94% 0.0083 -0.0787)
OKLCHoklch(48.94% 0.079 276)
XYZxyz(12.2896, 11.4617, 26.7589)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C8D #8D8554
analogous
#54798D #545C8D #69548D
triadic
#545C8D #8D545C #5C8D54
tetradic
#545C8D #8D5479 #8D8554 #548D69
square
#545C8D #8D5479 #8D8554 #548D69
split-complementary
#545C8D #8D6954 #798D54
monochromatic
#262A40 #3D4367 #545C8D #737BAB #999FC2

Accessibility & contrast

On white

6.38
#545C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#545C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545C8D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C8D#FFFFFF#000000##FFFFFF
##545C8D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618F
Deuteranopia (green-blind)
#485D8C
Tritanopia (blue-blind)
#43666E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #545c8d;
/* rgb */ color: rgb(84, 92, 141);
/* oklch */ color: oklch(48.9% 0.079 276.0);
Tailwind
colors: {
  custom: {
    50: '#868aae',
    500: '#545c8d',
    950: '#000000',
  },
}
SCSS
$custom: #545c8d;
$custom-light: #868aae;
$custom-dark: #000000;
JSON
{
  "hex": "#545c8d",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 231.579,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.07918,
    "h": 276
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#545C8D
secondary
#B0AB8D
accent
#B566C2
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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