#545499#545499

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

Color values

HEX#545499
RGBrgb(84, 84, 153)
HSLhsl(240, 29%, 46%)
HSVhsv(240, 45%, 60%)
CMYKcmyk(45.1%, 45.1%, 0%, 40%)
CIE-LABlab(38.77, 18.70, -37.85)
CIE-LCHlch(38.77, 42.22, 296.30°)
OKLaboklab(47.94% 0.0217 -0.1071)
OKLCHoklch(47.94% 0.109 281.5)
XYZxyz(12.5745, 10.5248, 31.4997)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545499 #999954
analogous
#547799 #545499 #775499
triadic
#545499 #995454 #549954
tetradic
#545499 #995477 #999954 #549977
square
#545499 #995477 #999954 #549977
split-complementary
#545499 #997754 #779954
monochromatic
#29294A #3E3E71 #545499 #7676B4 #9E9ECA

Accessibility & contrast

On white

6.76
#545499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#545499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545499
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545499#FFFFFF#000000##FFFFFF
##5454991.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#3E626F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545499;
/* rgb */ color: rgb(84, 84, 153);
/* oklch */ color: oklch(47.9% 0.109 281.5);
Tailwind
colors: {
  custom: {
    50: '#8884b7',
    500: '#545499',
    950: '#000000',
  },
}
SCSS
$custom: #545499;
$custom-light: #8884b7;
$custom-dark: #000000;
JSON
{
  "hex": "#545499",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.10927,
    "h": 281.5
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#545499
secondary
#B7B792
accent
#C562C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545499

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

Preview Lab → · Contrast checker → · Palette generator →

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