#545786#545786

#545786 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.5% C 0.076 H 280.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#545786
RGBrgb(84, 87, 134)
HSLhsl(236, 23%, 43%)
HSVhsv(236, 37%, 53%)
CMYKcmyk(37.3%, 35.1%, 0%, 47.5%)
CIE-LABlab(38.59, 11.04, -26.63)
CIE-LCHlch(38.59, 28.83, 292.51°)
OKLaboklab(47.48% 0.0135 -0.0744)
OKLCHoklch(47.48% 0.076 280.3)
XYZxyz(11.3662, 10.4220, 23.9624)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545786 #868354
analogous
#547086 #545786 #6A5486
triadic
#545786 #865457 #578654
tetradic
#545786 #865470 #868354 #54866A
square
#545786 #865470 #868354 #54866A
split-complementary
#545786 #866A54 #708654
monochromatic
#25263B #3C3F60 #545786 #7174A6 #9799BE

Accessibility & contrast

On white

6.81
#545786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#545786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545786
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545786#FFFFFF#000000##FFFFFF
##5457861.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D88
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#466068
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545786;
/* rgb */ color: rgb(84, 87, 134);
/* oklch */ color: oklch(47.5% 0.076 280.3);
Tailwind
colors: {
  custom: {
    50: '#8686a9',
    500: '#545786',
    950: '#000000',
  },
}
SCSS
$custom: #545786;
$custom-light: #8686a9;
$custom-dark: #000000;
JSON
{
  "hex": "#545786",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 236.4,
    "s": 22.936,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.07565,
    "h": 280.3
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#545786
secondary
#ABA98B
accent
#BA68BF
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545786

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

Preview Lab → · Contrast checker → · Palette generator →

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