#545982#545982

#545982 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.7% C 0.066 H 278.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#545982
RGBrgb(84, 89, 130)
HSLhsl(233, 21%, 42%)
HSVhsv(233, 35%, 51%)
CMYKcmyk(35.4%, 31.5%, 0%, 49%)
CIE-LABlab(38.97, 8.61, -23.60)
CIE-LCHlch(38.97, 25.12, 290.04°)
OKLaboklab(47.71% 0.0095 -0.0657)
OKLCHoklch(47.71% 0.066 278.2)
XYZxyz(11.2567, 10.6409, 22.5756)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545982 #827D54
analogous
#547082 #545982 #665482
triadic
#545982 #825459 #598254
tetradic
#545982 #825470 #827D54 #548266
square
#545982 #825470 #827D54 #548266
split-complementary
#545982 #826654 #708254
monochromatic
#242638 #3C405D #545982 #7076A3 #969ABB

Accessibility & contrast

On white

6.71
#545982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#545982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545982
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545982#FFFFFF#000000##FFFFFF
##5459821.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E84
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#476168
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #545982;
/* rgb */ color: rgb(84, 89, 130);
/* oklch */ color: oklch(47.7% 0.066 278.2);
Tailwind
colors: {
  custom: {
    50: '#8587a6',
    500: '#545982',
    950: '#000000',
  },
}
SCSS
$custom: #545982;
$custom-light: #8587a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545982",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 233.478,
    "s": 21.495,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.06637,
    "h": 278.2
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#545982
secondary
#A8A58A
accent
#B56ABE
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #545982

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

Preview Lab → · Contrast checker → · Palette generator →

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