#545286#545286

#545286 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.4% C 0.083 H 284.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#545286
RGBrgb(84, 82, 134)
HSLhsl(242, 24%, 42%)
HSVhsv(242, 39%, 53%)
CMYKcmyk(37.3%, 38.8%, 0%, 47.5%)
CIE-LABlab(37.19, 14.22, -28.83)
CIE-LCHlch(37.19, 32.14, 296.25°)
OKLaboklab(46.4% 0.0208 -0.0808)
OKLCHoklch(46.4% 0.083 284.4)
XYZxyz(10.9753, 9.6403, 23.8321)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545286 #848652
analogous
#526A86 #545286 #6E5286
triadic
#545286 #865452 #528654
tetradic
#545286 #86526A #848652 #52866E
square
#545286 #86526A #848652 #52866E
split-complementary
#545286 #866E52 #6A8652
monochromatic
#24243A #3C3B60 #545286 #716FA7 #9695BE

Accessibility & contrast

On white

7.17
#545286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545286
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545286#FFFFFF#000000##FFFFFF
##5452861.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#475C65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545286;
/* rgb */ color: rgb(84, 82, 134);
/* oklch */ color: oklch(46.4% 0.083 284.4);
Tailwind
colors: {
  custom: {
    50: '#8682a9',
    500: '#545286',
    950: '#000000',
  },
}
SCSS
$custom: #545286;
$custom-light: #8682a9;
$custom-dark: #000000;
JSON
{
  "hex": "#545286",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 242.308,
    "s": 24.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.464,
    "c": 0.08341,
    "h": 284.4
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#545286
secondary
#AAAB89
accent
#C167BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #545286

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

Preview Lab → · Contrast checker → · Palette generator →

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