#545282#545282

#545282 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.2% C 0.077 H 284.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#545282
RGBrgb(84, 82, 130)
HSLhsl(243, 23%, 42%)
HSVhsv(243, 37%, 51%)
CMYKcmyk(35.4%, 36.9%, 0%, 49%)
CIE-LABlab(36.99, 13.05, -26.69)
CIE-LCHlch(36.99, 29.71, 296.05°)
OKLaboklab(46.18% 0.0198 -0.0746)
OKLCHoklch(46.18% 0.077 284.9)
XYZxyz(10.7016, 9.5308, 22.3905)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545282 #808252
analogous
#526882 #545282 #6C5282
triadic
#545282 #825452 #528254
tetradic
#545282 #825268 #808252 #52826C
square
#545282 #825268 #808252 #52826C
split-complementary
#545282 #826C52 #688252
monochromatic
#242337 #3C3A5C #545282 #706EA3 #9593BB

Accessibility & contrast

On white

7.23
#545282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#545282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545282
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545282#FFFFFF#000000##FFFFFF
##5452821.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#485B64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545282;
/* rgb */ color: rgb(84, 82, 130);
/* oklch */ color: oklch(46.2% 0.077 284.9);
Tailwind
colors: {
  custom: {
    50: '#8682a6',
    500: '#545282',
    950: '#000000',
  },
}
SCSS
$custom: #545282;
$custom-light: #8682a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545282",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 242.5,
    "s": 22.642,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.07719,
    "h": 284.9
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#545282
secondary
#A7A888
accent
#BF69BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545282

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

Preview Lab → · Contrast checker → · Palette generator →

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