#545498#545498

#545498 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.9% C 0.108 H 281.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#545498
RGBrgb(84, 84, 152)
HSLhsl(240, 29%, 46%)
HSVhsv(240, 45%, 60%)
CMYKcmyk(44.7%, 44.7%, 0%, 40.4%)
CIE-LABlab(38.71, 18.39, -37.34)
CIE-LCHlch(38.71, 41.62, 296.23°)
OKLaboklab(47.88% 0.0216 -0.1056)
OKLCHoklch(47.88% 0.108 281.5)
XYZxyz(12.4923, 10.4919, 31.0666)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545498 #989854
analogous
#547698 #545498 #765498
triadic
#545498 #985454 #549854
tetradic
#545498 #985476 #989854 #549876
square
#545498 #985476 #989854 #549876
split-complementary
#545498 #987654 #769854
monochromatic
#282849 #3E3E71 #545498 #7676B3 #9D9DC9

Accessibility & contrast

On white

6.78
#545498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#545498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545498
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545498#FFFFFF#000000##FFFFFF
##5454981.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9B
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#3E626E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545498;
/* rgb */ color: rgb(84, 84, 152);
/* oklch */ color: oklch(47.9% 0.108 281.5);
Tailwind
colors: {
  custom: {
    50: '#8884b7',
    500: '#545498',
    950: '#000000',
  },
}
SCSS
$custom: #545498;
$custom-light: #8884b7;
$custom-dark: #000000;
JSON
{
  "hex": "#545498",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 240,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.10778,
    "h": 281.5
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#545498
secondary
#B6B692
accent
#C563C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545498

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

Preview Lab → · Contrast checker → · Palette generator →

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