#545C97#545C97

#545C97 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.5% C 0.095 H 276.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#545C97
RGBrgb(84, 92, 151)
HSLhsl(233, 29%, 46%)
HSVhsv(233, 44%, 59%)
CMYKcmyk(44.4%, 39.1%, 0%, 40.8%)
CIE-LABlab(40.85, 13.01, -33.35)
CIE-LCHlch(40.85, 35.79, 291.31°)
OKLaboklab(49.5% 0.0107 -0.0939)
OKLCHoklch(49.5% 0.095 276.5)
XYZxyz(13.0675, 11.7728, 30.8560)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C97 #978F54
analogous
#547D97 #545C97 #6D5497
triadic
#545C97 #97545C #5C9754
tetradic
#545C97 #97547D #978F54 #54976D
square
#545C97 #97547D #978F54 #54976D
split-complementary
#545C97 #976D54 #7D9754
monochromatic
#282C48 #3E4470 #545C97 #767DB3 #9DA2C8

Accessibility & contrast

On white

6.26
#545C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#545C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545C97
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C97#FFFFFF#000000##FFFFFF
##545C971.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#3E6872
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545c97;
/* rgb */ color: rgb(84, 92, 151);
/* oklch */ color: oklch(49.5% 0.095 276.5);
Tailwind
colors: {
  custom: {
    50: '#878ab6',
    500: '#545c97',
    950: '#000000',
  },
}
SCSS
$custom: #545c97;
$custom-light: #878ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#545c97",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 232.836,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.09452,
    "h": 276.5
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#545C97
secondary
#B6B191
accent
#B963C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545C97

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

Preview Lab → · Contrast checker → · Palette generator →

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