#545399#545399

#545399 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.111 H 282.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#545399
RGBrgb(84, 83, 153)
HSLhsl(241, 30%, 46%)
HSVhsv(241, 46%, 60%)
CMYKcmyk(45.1%, 45.8%, 0%, 40%)
CIE-LABlab(38.50, 19.34, -38.27)
CIE-LCHlch(38.50, 42.88, 296.81°)
OKLaboklab(47.74% 0.023 -0.1083)
OKLCHoklch(47.74% 0.111 282)
XYZxyz(12.4975, 10.3707, 31.4741)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545399 #989953
analogous
#537599 #545399 #775399
triadic
#545399 #995453 #539954
tetradic
#545399 #995375 #989953 #539977
square
#545399 #995375 #989953 #539977
split-complementary
#545399 #997753 #759953
monochromatic
#28284A #3E3D71 #545399 #7675B4 #9D9DCA

Accessibility & contrast

On white

6.83
#545399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#545399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545399
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545399#FFFFFF#000000##FFFFFF
##5453991.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#3E616E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545399;
/* rgb */ color: rgb(84, 83, 153);
/* oklch */ color: oklch(47.7% 0.111 282.0);
Tailwind
colors: {
  custom: {
    50: '#8883b7',
    500: '#545399',
    950: '#000000',
  },
}
SCSS
$custom: #545399;
$custom-light: #8883b7;
$custom-dark: #000000;
JSON
{
  "hex": "#545399",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 240.857,
    "s": 29.661,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47737,
    "c": 0.11077,
    "h": 282
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#545399
secondary
#B6B791
accent
#C662C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545399

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

Preview Lab → · Contrast checker → · Palette generator →

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