#545996#545996

#545996 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.8% C 0.097 H 278.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#545996
RGBrgb(84, 89, 150)
HSLhsl(235, 28%, 46%)
HSVhsv(235, 44%, 59%)
CMYKcmyk(44%, 40.7%, 0%, 41.2%)
CIE-LABlab(39.97, 14.60, -34.14)
CIE-LCHlch(39.97, 37.13, 293.15°)
OKLaboklab(48.8% 0.0145 -0.0962)
OKLCHoklch(48.8% 0.097 278.6)
XYZxyz(12.7319, 11.2310, 30.3452)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545996 #969154
analogous
#547A96 #545996 #705496
triadic
#545996 #965459 #599654
tetradic
#545996 #96547A #969154 #549670
square
#545996 #96547A #969154 #549670
split-complementary
#545996 #967054 #7A9654
monochromatic
#282A48 #3E426F #545996 #757AB2 #9DA0C8

Accessibility & contrast

On white

6.47
#545996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#545996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545996
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545996#FFFFFF#000000##FFFFFF
##5459961.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436198
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#3F6570
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545996;
/* rgb */ color: rgb(84, 89, 150);
/* oklch */ color: oklch(48.8% 0.097 278.6);
Tailwind
colors: {
  custom: {
    50: '#8787b5',
    500: '#545996',
    950: '#000000',
  },
}
SCSS
$custom: #545996;
$custom-light: #8787b5;
$custom-dark: #000000;
JSON
{
  "hex": "#545996",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 150
  },
  "hsl": {
    "h": 235.455,
    "s": 28.205,
    "l": 45.882
  },
  "oklch": {
    "l": 0.488,
    "c": 0.09734,
    "h": 278.6
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#545996
secondary
#B5B291
accent
#BD63C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545996

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

Preview Lab → · Contrast checker → · Palette generator →

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