#545B97#545B97

#545B97 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.3% C 0.096 H 277.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#545B97
RGBrgb(84, 91, 151)
HSLhsl(234, 29%, 46%)
HSVhsv(234, 44%, 59%)
CMYKcmyk(44.4%, 39.7%, 0%, 40.8%)
CIE-LABlab(40.57, 13.64, -33.79)
CIE-LCHlch(40.57, 36.43, 291.98°)
OKLaboklab(49.28% 0.0121 -0.0952)
OKLCHoklch(49.28% 0.096 277.2)
XYZxyz(12.9815, 11.6007, 30.8273)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B97 #979054
analogous
#547C97 #545B97 #6E5497
triadic
#545B97 #97545B #5B9754
tetradic
#545B97 #97547C #979054 #54976E
square
#545B97 #97547C #979054 #54976E
split-complementary
#545B97 #976E54 #7C9754
monochromatic
#282C48 #3E4370 #545B97 #767CB3 #9DA1C8

Accessibility & contrast

On white

6.32
#545B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#545B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545B97
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B97#FFFFFF#000000##FFFFFF
##545B971.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#3E6772
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545b97;
/* rgb */ color: rgb(84, 91, 151);
/* oklch */ color: oklch(49.3% 0.096 277.2);
Tailwind
colors: {
  custom: {
    50: '#8789b6',
    500: '#545b97',
    950: '#000000',
  },
}
SCSS
$custom: #545b97;
$custom-light: #8789b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545b97",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 233.731,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.09595,
    "h": 277.2
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#545B97
secondary
#B6B291
accent
#BB63C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545B97

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

Preview Lab → · Contrast checker → · Palette generator →

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