#545382#545382

#545382 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.4% C 0.076 H 284.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#545382
RGBrgb(84, 83, 130)
HSLhsl(241, 22%, 42%)
HSVhsv(241, 36%, 51%)
CMYKcmyk(35.4%, 36.2%, 0%, 49%)
CIE-LABlab(37.27, 12.41, -26.25)
CIE-LCHlch(37.27, 29.04, 295.30°)
OKLaboklab(46.39% 0.0183 -0.0733)
OKLCHoklch(46.39% 0.076 284)
XYZxyz(10.7776, 9.6827, 22.4159)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545382 #818253
analogous
#536A82 #545382 #6C5382
triadic
#545382 #825453 #538254
tetradic
#545382 #82536A #818253 #53826C
square
#545382 #82536A #818253 #53826C
split-complementary
#545382 #826C53 #6A8253
monochromatic
#242337 #3C3B5D #545382 #706FA3 #9594BB

Accessibility & contrast

On white

7.15
#545382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#545382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545382
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545382#FFFFFF#000000##FFFFFF
##5453821.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455984
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#485C64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545382;
/* rgb */ color: rgb(84, 83, 130);
/* oklch */ color: oklch(46.4% 0.076 284.0);
Tailwind
colors: {
  custom: {
    50: '#8683a6',
    500: '#545382',
    950: '#000000',
  },
}
SCSS
$custom: #545382;
$custom-light: #8683a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545382",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 130
  },
  "hsl": {
    "h": 241.277,
    "s": 22.066,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.07559,
    "h": 284
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#545382
secondary
#A8A889
accent
#BF69BD
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545382

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

Preview Lab → · Contrast checker → · Palette generator →

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