#545D97#545D97

#545D97 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.7% C 0.093 H 275.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#545D97
RGBrgb(84, 93, 151)
HSLhsl(232, 29%, 46%)
HSVhsv(232, 44%, 59%)
CMYKcmyk(44.4%, 38.4%, 0%, 40.8%)
CIE-LABlab(41.13, 12.37, -32.91)
CIE-LCHlch(41.13, 35.16, 290.61°)
OKLaboklab(49.71% 0.0094 -0.0926)
OKLCHoklch(49.71% 0.093 275.8)
XYZxyz(13.1547, 11.9472, 30.8851)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D97 #978E54
analogous
#547E97 #545D97 #6C5497
triadic
#545D97 #97545D #5D9754
tetradic
#545D97 #97547E #978E54 #54976C
square
#545D97 #97547E #978E54 #54976C
split-complementary
#545D97 #976C54 #7E9754
monochromatic
#282D48 #3E4570 #545D97 #767EB3 #9DA3C8

Accessibility & contrast

On white

6.20
#545D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#545D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545D97
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D97#FFFFFF#000000##FFFFFF
##545D971.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486499
Deuteranopia (green-blind)
#435E96
Tritanopia (blue-blind)
#3E6973
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545d97;
/* rgb */ color: rgb(84, 93, 151);
/* oklch */ color: oklch(49.7% 0.093 275.8);
Tailwind
colors: {
  custom: {
    50: '#878ab6',
    500: '#545d97',
    950: '#000000',
  },
}
SCSS
$custom: #545d97;
$custom-light: #878ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#545d97",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 231.94,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.09309,
    "h": 275.8
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#545D97
secondary
#B6B191
accent
#B863C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545D97

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

Preview Lab → · Contrast checker → · Palette generator →

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