#545998#545998

#545998 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.9% C 0.100 H 278.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#545998
RGBrgb(84, 89, 152)
HSLhsl(236, 29%, 46%)
HSVhsv(236, 45%, 60%)
CMYKcmyk(44.7%, 41.4%, 0%, 40.4%)
CIE-LABlab(40.07, 15.21, -35.17)
CIE-LCHlch(40.07, 38.32, 293.39°)
OKLaboklab(48.92% 0.0149 -0.0993)
OKLCHoklch(48.92% 0.1 278.6)
XYZxyz(12.8943, 11.2960, 31.2006)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545998 #989354
analogous
#547B98 #545998 #715498
triadic
#545998 #985459 #599854
tetradic
#545998 #98547B #989354 #549871
square
#545998 #98547B #989354 #549871
split-complementary
#545998 #987154 #7B9854
monochromatic
#282B49 #3E4271 #545998 #767AB3 #9DA1C9

Accessibility & contrast

On white

6.44
#545998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#545998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545998
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545998#FFFFFF#000000##FFFFFF
##5459981.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#3E6671
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545998;
/* rgb */ color: rgb(84, 89, 152);
/* oklch */ color: oklch(48.9% 0.100 278.6);
Tailwind
colors: {
  custom: {
    50: '#8887b6',
    500: '#545998',
    950: '#000000',
  },
}
SCSS
$custom: #545998;
$custom-light: #8887b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545998",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 235.588,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.10038,
    "h": 278.6
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#545998
secondary
#B6B492
accent
#BE63C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545998

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

Preview Lab → · Contrast checker → · Palette generator →

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