#545997#545997

#545997 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.9% C 0.099 H 278.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#545997
RGBrgb(84, 89, 151)
HSLhsl(236, 29%, 46%)
HSVhsv(236, 44%, 59%)
CMYKcmyk(44.4%, 41.1%, 0%, 40.8%)
CIE-LABlab(40.02, 14.91, -34.66)
CIE-LCHlch(40.02, 37.73, 293.27°)
OKLaboklab(48.86% 0.0147 -0.0977)
OKLCHoklch(48.86% 0.099 278.6)
XYZxyz(12.8128, 11.2633, 30.7711)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545997 #979254
analogous
#547A97 #545997 #705497
triadic
#545997 #975459 #599754
tetradic
#545997 #97547A #979254 #549770
square
#545997 #97547A #979254 #549770
split-complementary
#545997 #977054 #7A9754
monochromatic
#282B48 #3E4270 #545997 #767AB3 #9DA0C8

Accessibility & contrast

On white

6.46
#545997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#545997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545997
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545997#FFFFFF#000000##FFFFFF
##5459971.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#3E6670
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545997;
/* rgb */ color: rgb(84, 89, 151);
/* oklch */ color: oklch(48.9% 0.099 278.6);
Tailwind
colors: {
  custom: {
    50: '#8787b6',
    500: '#545997',
    950: '#000000',
  },
}
SCSS
$custom: #545997;
$custom-light: #8787b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545997",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 235.522,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48859,
    "c": 0.09885,
    "h": 278.6
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545997

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

Preview Lab → · Contrast checker → · Palette generator →

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