#545798#545798

#545798 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.5% C 0.103 H 279.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#545798
RGBrgb(84, 87, 152)
HSLhsl(237, 29%, 46%)
HSVhsv(237, 45%, 60%)
CMYKcmyk(44.7%, 42.8%, 0%, 40.4%)
CIE-LABlab(39.53, 16.49, -36.04)
CIE-LCHlch(39.53, 39.63, 294.58°)
OKLaboklab(48.5% 0.0176 -0.1018)
OKLCHoklch(48.5% 0.103 279.8)
XYZxyz(12.7302, 10.9676, 31.1459)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545798 #989554
analogous
#547998 #545798 #735498
triadic
#545798 #985457 #579854
tetradic
#545798 #985479 #989554 #549873
square
#545798 #985479 #989554 #549873
split-complementary
#545798 #987354 #799854
monochromatic
#282A49 #3E4071 #545798 #7679B3 #9D9FC9

Accessibility & contrast

On white

6.58
#545798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#545798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545798
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545798#FFFFFF#000000##FFFFFF
##5457981.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#3E6470
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545798;
/* rgb */ color: rgb(84, 87, 152);
/* oklch */ color: oklch(48.5% 0.103 279.8);
Tailwind
colors: {
  custom: {
    50: '#8886b6',
    500: '#545798',
    950: '#000000',
  },
}
SCSS
$custom: #545798;
$custom-light: #8886b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545798",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 237.353,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48499,
    "c": 0.10331,
    "h": 279.8
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#545798
secondary
#B6B592
accent
#C163C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545798

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

Preview Lab → · Contrast checker → · Palette generator →

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