#545D8D#545D8D

#545D8D is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.2% C 0.078 H 275.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#545D8D
RGBrgb(84, 93, 141)
HSLhsl(231, 25%, 44%)
HSVhsv(231, 40%, 55%)
CMYKcmyk(40.4%, 34%, 0%, 44.7%)
CIE-LABlab(40.63, 9.33, -27.68)
CIE-LCHlch(40.63, 29.21, 288.62°)
OKLaboklab(49.16% 0.0069 -0.0775)
OKLCHoklch(49.16% 0.078 275.1)
XYZxyz(12.3768, 11.6361, 26.7880)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D8D #8D8454
analogous
#547A8D #545D8D #68548D
triadic
#545D8D #8D545D #5D8D54
tetradic
#545D8D #8D547A #8D8454 #548D68
square
#545D8D #8D547A #8D8454 #548D68
split-complementary
#545D8D #8D6854 #7A8D54
monochromatic
#262A40 #3D4467 #545D8D #737CAB #99A0C2

Accessibility & contrast

On white

6.31
#545D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#545D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545D8D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D8D#FFFFFF#000000##FFFFFF
##545D8D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#42676E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545d8d;
/* rgb */ color: rgb(84, 93, 141);
/* oklch */ color: oklch(49.2% 0.078 275.1);
Tailwind
colors: {
  custom: {
    50: '#868aae',
    500: '#545d8d',
    950: '#000000',
  },
}
SCSS
$custom: #545d8d;
$custom-light: #868aae;
$custom-dark: #000000;
JSON
{
  "hex": "#545d8d",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 230.526,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.07776,
    "h": 275.1
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#545D8D
secondary
#B0AA8D
accent
#B366C2
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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