#545784#545784

#545784 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.4% C 0.073 H 280.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#545784
RGBrgb(84, 87, 132)
HSLhsl(236, 22%, 42%)
HSVhsv(236, 36%, 52%)
CMYKcmyk(36.4%, 34.1%, 0%, 48.2%)
CIE-LABlab(38.49, 10.45, -25.56)
CIE-LCHlch(38.49, 27.62, 292.24°)
OKLaboklab(47.37% 0.013 -0.0713)
OKLCHoklch(47.37% 0.073 280.3)
XYZxyz(11.2280, 10.3668, 23.2347)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545784 #848154
analogous
#546F84 #545784 #695484
triadic
#545784 #845457 #578454
tetradic
#545784 #84546F #848154 #548469
square
#545784 #84546F #848154 #548469
split-complementary
#545784 #846954 #6F8454
monochromatic
#242639 #3C3E5F #545784 #7174A4 #9699BC

Accessibility & contrast

On white

6.83
#545784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#545784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545784
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545784#FFFFFF#000000##FFFFFF
##5457841.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C86
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#476067
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545784;
/* rgb */ color: rgb(84, 87, 132);
/* oklch */ color: oklch(47.4% 0.073 280.3);
Tailwind
colors: {
  custom: {
    50: '#8686a8',
    500: '#545784',
    950: '#000000',
  },
}
SCSS
$custom: #545784;
$custom-light: #8686a8;
$custom-dark: #000000;
JSON
{
  "hex": "#545784",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 236.25,
    "s": 22.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.07251,
    "h": 280.3
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#545784
secondary
#AAA88A
accent
#B969BF
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #545784

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

Preview Lab → · Contrast checker → · Palette generator →

#545784 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva