#545897#545897

#545897 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.6% C 0.100 H 279.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#545897
RGBrgb(84, 88, 151)
HSLhsl(236, 29%, 46%)
HSVhsv(236, 44%, 59%)
CMYKcmyk(44.4%, 41.7%, 0%, 40.8%)
CIE-LABlab(39.74, 15.54, -35.10)
CIE-LCHlch(39.74, 38.38, 293.88°)
OKLaboklab(48.65% 0.0161 -0.099)
OKLCHoklch(48.65% 0.1 279.2)
XYZxyz(12.7301, 11.0980, 30.7435)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545897 #979354
analogous
#547997 #545897 #715497
triadic
#545897 #975458 #589754
tetradic
#545897 #975479 #979354 #549771
square
#545897 #975479 #979354 #549771
split-complementary
#545897 #977154 #799754
monochromatic
#282A48 #3E4170 #545897 #7679B3 #9DA0C8

Accessibility & contrast

On white

6.52
#545897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#545897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545897
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545897#FFFFFF#000000##FFFFFF
##5458971.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#3D5B96
Tritanopia (blue-blind)
#3E6570
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545897;
/* rgb */ color: rgb(84, 88, 151);
/* oklch */ color: oklch(48.6% 0.100 279.2);
Tailwind
colors: {
  custom: {
    50: '#8887b6',
    500: '#545897',
    950: '#000000',
  },
}
SCSS
$custom: #545897;
$custom-light: #8887b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545897",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 236.418,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.10033,
    "h": 279.2
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#545897
secondary
#B6B391
accent
#BF63C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545897

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

Preview Lab → · Contrast checker → · Palette generator →

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