#545482#545482

#545482 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.074 H 283.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#545482
RGBrgb(84, 84, 130)
HSLhsl(240, 21%, 42%)
HSVhsv(240, 35%, 51%)
CMYKcmyk(35.4%, 35.4%, 0%, 49%)
CIE-LABlab(37.55, 11.77, -25.82)
CIE-LCHlch(37.55, 28.37, 294.52°)
OKLaboklab(46.61% 0.0168 -0.0721)
OKLCHoklch(46.61% 0.074 283.2)
XYZxyz(10.8546, 9.8368, 22.4416)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545482 #828254
analogous
#546B82 #545482 #6B5482
triadic
#545482 #825454 #548254
tetradic
#545482 #82546B #828254 #54826B
square
#545482 #82546B #828254 #54826B
split-complementary
#545482 #826B54 #6B8254
monochromatic
#242438 #3C3C5D #545482 #7070A3 #9696BB

Accessibility & contrast

On white

7.08
#545482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#545482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545482
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545482#FFFFFF#000000##FFFFFF
##5454821.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#485D65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545482;
/* rgb */ color: rgb(84, 84, 130);
/* oklch */ color: oklch(46.6% 0.074 283.2);
Tailwind
colors: {
  custom: {
    50: '#8684a6',
    500: '#545482',
    950: '#000000',
  },
}
SCSS
$custom: #545482;
$custom-light: #8684a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545482",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 21.495,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.07401,
    "h": 283.2
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#545482
secondary
#A8A88A
accent
#BE6ABE
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545482

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

Preview Lab → · Contrast checker → · Palette generator →

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