#545491#545491

#545491 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.5% C 0.097 H 282.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#545491
RGBrgb(84, 84, 145)
HSLhsl(240, 27%, 45%)
HSVhsv(240, 42%, 57%)
CMYKcmyk(42.1%, 42.1%, 0%, 43.1%)
CIE-LABlab(38.32, 16.24, -33.73)
CIE-LCHlch(38.32, 37.44, 295.71°)
OKLaboklab(47.46% 0.0203 -0.0951)
OKLCHoklch(47.46% 0.097 282)
XYZxyz(11.9358, 10.2693, 28.1359)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545491 #919154
analogous
#547391 #545491 #735491
triadic
#545491 #915454 #549154
tetradic
#545491 #915473 #919154 #549173
square
#545491 #915473 #919154 #549173
split-complementary
#545491 #917354 #739154
monochromatic
#272743 #3E3E6A #545491 #7474AE #9B9BC5

Accessibility & contrast

On white

6.88
#545491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#545491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545491
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545491#FFFFFF#000000##FFFFFF
##5454911.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C93
Deuteranopia (green-blind)
#3B5890
Tritanopia (blue-blind)
#42606B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545491;
/* rgb */ color: rgb(84, 84, 145);
/* oklch */ color: oklch(47.5% 0.097 282.0);
Tailwind
colors: {
  custom: {
    50: '#8784b1',
    500: '#545491',
    950: '#000000',
  },
}
SCSS
$custom: #545491;
$custom-light: #8784b1;
$custom-dark: #000000;
JSON
{
  "hex": "#545491",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 26.638,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47455,
    "c": 0.0972,
    "h": 282
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#545491
secondary
#B2B28F
accent
#C365C3
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #545491

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

Preview Lab → · Contrast checker → · Palette generator →

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