#545285#545285

#545285 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.082 H 284.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#545285
RGBrgb(84, 82, 133)
HSLhsl(242, 24%, 42%)
HSVhsv(242, 38%, 52%)
CMYKcmyk(36.8%, 38.3%, 0%, 47.8%)
CIE-LABlab(37.14, 13.92, -28.29)
CIE-LCHlch(37.14, 31.53, 296.20°)
OKLaboklab(46.34% 0.0205 -0.0792)
OKLCHoklch(46.34% 0.082 284.5)
XYZxyz(10.9059, 9.6125, 23.4665)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545285 #838552
analogous
#526A85 #545285 #6E5285
triadic
#545285 #855452 #528554
tetradic
#545285 #85526A #838552 #52856E
square
#545285 #85526A #838552 #52856E
split-complementary
#545285 #856E52 #6A8552
monochromatic
#242339 #3C3B5F #545285 #716EA6 #9694BD

Accessibility & contrast

On white

7.19
#545285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#545285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545285
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545285#FFFFFF#000000##FFFFFF
##5452851.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545285;
/* rgb */ color: rgb(84, 82, 133);
/* oklch */ color: oklch(46.3% 0.082 284.5);
Tailwind
colors: {
  custom: {
    50: '#8682a9',
    500: '#545285',
    950: '#000000',
  },
}
SCSS
$custom: #545285;
$custom-light: #8682a9;
$custom-dark: #000000;
JSON
{
  "hex": "#545285",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 242.353,
    "s": 23.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.08186,
    "h": 284.5
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#545285
secondary
#A9AA89
accent
#C068BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #545285

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

Preview Lab → · Contrast checker → · Palette generator →

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