#545596#545596

#545596 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.0% C 0.103 H 281.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#545596
RGBrgb(84, 85, 150)
HSLhsl(239, 28%, 46%)
HSVhsv(239, 44%, 59%)
CMYKcmyk(44%, 43.3%, 0%, 41.2%)
CIE-LABlab(38.87, 17.14, -35.88)
CIE-LCHlch(38.87, 39.76, 295.53°)
OKLaboklab(47.96% 0.0199 -0.1013)
OKLCHoklch(47.96% 0.103 281.1)
XYZxyz(12.4081, 10.5833, 30.2372)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545596 #969554
analogous
#547696 #545596 #745496
triadic
#545596 #965455 #559654
tetradic
#545596 #965476 #969554 #549674
square
#545596 #965476 #969554 #549674
split-complementary
#545596 #967454 #769654
monochromatic
#282948 #3E3F6F #545596 #7576B2 #9D9DC8

Accessibility & contrast

On white

6.74
#545596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#545596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545596
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545596#FFFFFF#000000##FFFFFF
##5455961.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#3F626E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #545596;
/* rgb */ color: rgb(84, 85, 150);
/* oklch */ color: oklch(48.0% 0.103 281.1);
Tailwind
colors: {
  custom: {
    50: '#8884b5',
    500: '#545596',
    950: '#000000',
  },
}
SCSS
$custom: #545596;
$custom-light: #8884b5;
$custom-dark: #000000;
JSON
{
  "hex": "#545596",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 150
  },
  "hsl": {
    "h": 239.091,
    "s": 28.205,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47962,
    "c": 0.10327,
    "h": 281.1
  },
  "luminance": 0.10584
}

Semantic roles & 50–950 ramp

primary
#545596
secondary
#B5B591
accent
#C363C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545596

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

Preview Lab → · Contrast checker → · Palette generator →

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