#545C99#545C99

#545C99 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.6% C 0.098 H 276.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#545C99
RGBrgb(84, 92, 153)
HSLhsl(233, 29%, 46%)
HSVhsv(233, 45%, 60%)
CMYKcmyk(45.1%, 39.9%, 0%, 40%)
CIE-LABlab(40.96, 13.63, -34.38)
CIE-LCHlch(40.96, 36.98, 291.62°)
OKLaboklab(49.61% 0.0112 -0.0969)
OKLCHoklch(49.61% 0.098 276.6)
XYZxyz(13.2313, 11.8384, 31.7187)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C99 #999154
analogous
#547F99 #545C99 #6F5499
triadic
#545C99 #99545C #5C9954
tetradic
#545C99 #99547F #999154 #54996F
square
#545C99 #99547F #999154 #54996F
split-complementary
#545C99 #996F54 #7F9954
monochromatic
#292C4A #3E4471 #545C99 #767DB4 #9EA3CA

Accessibility & contrast

On white

6.24
#545C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#545C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545C99
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C99#FFFFFF#000000##FFFFFF
##545C991.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639B
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#3D6873
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545c99;
/* rgb */ color: rgb(84, 92, 153);
/* oklch */ color: oklch(49.6% 0.098 276.6);
Tailwind
colors: {
  custom: {
    50: '#888ab7',
    500: '#545c99',
    950: '#000000',
  },
}
SCSS
$custom: #545c99;
$custom-light: #888ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#545c99",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 233.043,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.09756,
    "h": 276.6
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#545C99
secondary
#B7B392
accent
#BA62C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545C99

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

Preview Lab → · Contrast checker → · Palette generator →

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