#545696#545696

#545696 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.2% C 0.102 H 280.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#545696
RGBrgb(84, 86, 150)
HSLhsl(238, 28%, 46%)
HSVhsv(238, 44%, 59%)
CMYKcmyk(44%, 42.7%, 0%, 41.2%)
CIE-LABlab(39.14, 16.50, -35.45)
CIE-LCHlch(39.14, 39.10, 294.96°)
OKLaboklab(48.17% 0.0186 -0.1001)
OKLCHoklch(48.17% 0.102 280.5)
XYZxyz(12.4873, 10.7418, 30.2637)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545696 #969454
analogous
#547796 #545696 #735496
triadic
#545696 #965456 #569654
tetradic
#545696 #965477 #969454 #549673
square
#545696 #965477 #969454 #549673
split-complementary
#545696 #967354 #779654
monochromatic
#282948 #3E406F #545696 #7577B2 #9D9EC8

Accessibility & contrast

On white

6.67
#545696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#545696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545696
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545696#FFFFFF#000000##FFFFFF
##5456961.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#3F636F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #545696;
/* rgb */ color: rgb(84, 86, 150);
/* oklch */ color: oklch(48.2% 0.102 280.5);
Tailwind
colors: {
  custom: {
    50: '#8785b5',
    500: '#545696',
    950: '#000000',
  },
}
SCSS
$custom: #545696;
$custom-light: #8785b5;
$custom-dark: #000000;
JSON
{
  "hex": "#545696",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 238.182,
    "s": 28.205,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4817,
    "c": 0.10177,
    "h": 280.5
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#545696
secondary
#B5B491
accent
#C263C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545696

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

Preview Lab → · Contrast checker → · Palette generator →

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