#545874#545874

#545874 is a mid, muted blue. Relative luminance 0.101; OKLCH L 46.8% C 0.046 H 278.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#545874
RGBrgb(84, 88, 116)
HSLhsl(233, 16%, 39%)
HSVhsv(233, 28%, 45%)
CMYKcmyk(27.6%, 24.1%, 0%, 54.5%)
CIE-LABlab(38.07, 5.32, -16.41)
CIE-LCHlch(38.07, 17.25, 287.95°)
OKLaboklab(46.8% 0.0065 -0.0452)
OKLCHoklch(46.8% 0.046 278.2)
XYZxyz(10.2974, 10.1250, 17.9314)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545874 #747054
analogous
#546874 #545874 #605474
triadic
#545874 #745458 #587454
tetradic
#545874 #745468 #747054 #547460
square
#545874 #745468 #747054 #547460
split-complementary
#545874 #746054 #687454
monochromatic
#21222D #3A3D51 #545874 #6F7497 #9296B0

Accessibility & contrast

On white

6.94
#545874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#545874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545874
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545874#FFFFFF#000000##FFFFFF
##5458741.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B75
Deuteranopia (green-blind)
#4E5973
Tritanopia (blue-blind)
#4C5D62
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545874;
/* rgb */ color: rgb(84, 88, 116);
/* oklch */ color: oklch(46.8% 0.046 278.2);
Tailwind
colors: {
  custom: {
    50: '#85879c',
    500: '#545874',
    950: '#000000',
  },
}
SCSS
$custom: #545874;
$custom-light: #85879c;
$custom-dark: #000000;
JSON
{
  "hex": "#545874",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 116
  },
  "hsl": {
    "h": 232.5,
    "s": 16,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.04563,
    "h": 278.2
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#545874
secondary
#9E9B86
accent
#B06FB9
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0B0E
muted
#7C7C7E

Preview Lab

Preview with #545874

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

Preview Lab → · Contrast checker → · Palette generator →

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