#545896#545896

#545896 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.6% C 0.099 H 279.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#545896
RGBrgb(84, 88, 150)
HSLhsl(236, 28%, 46%)
HSVhsv(236, 44%, 59%)
CMYKcmyk(44%, 41.3%, 0%, 41.2%)
CIE-LABlab(39.69, 15.23, -34.58)
CIE-LCHlch(39.69, 37.79, 293.77°)
OKLaboklab(48.59% 0.0159 -0.0975)
OKLCHoklch(48.59% 0.099 279.2)
XYZxyz(12.6493, 11.0657, 30.3176)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545896 #969254
analogous
#547996 #545896 #715496
triadic
#545896 #965458 #589654
tetradic
#545896 #965479 #969254 #549671
square
#545896 #965479 #969254 #549671
split-complementary
#545896 #967154 #799654
monochromatic
#282A48 #3E416F #545896 #7579B2 #9D9FC8

Accessibility & contrast

On white

6.54
#545896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#545896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545896
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545896#FFFFFF#000000##FFFFFF
##5458961.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#3F6570
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545896;
/* rgb */ color: rgb(84, 88, 150);
/* oklch */ color: oklch(48.6% 0.099 279.2);
Tailwind
colors: {
  custom: {
    50: '#8787b5',
    500: '#545896',
    950: '#000000',
  },
}
SCSS
$custom: #545896;
$custom-light: #8787b5;
$custom-dark: #000000;
JSON
{
  "hex": "#545896",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 150
  },
  "hsl": {
    "h": 236.364,
    "s": 28.205,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.09881,
    "h": 279.2
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#545896
secondary
#B5B391
accent
#BF63C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545896

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

Preview Lab → · Contrast checker → · Palette generator →

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