#545281#545281

#545281 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.1% C 0.076 H 285.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#545281
RGBrgb(84, 82, 129)
HSLhsl(243, 22%, 41%)
HSVhsv(243, 36%, 51%)
CMYKcmyk(34.9%, 36.4%, 0%, 49.4%)
CIE-LABlab(36.94, 12.76, -26.16)
CIE-LCHlch(36.94, 29.10, 296.00°)
OKLaboklab(46.12% 0.0195 -0.0731)
OKLCHoklch(46.12% 0.076 285)
XYZxyz(10.6348, 9.5041, 22.0388)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545281 #7F8152
analogous
#526881 #545281 #6C5281
triadic
#545281 #815452 #528154
tetradic
#545281 #815268 #7F8152 #52816C
square
#545281 #815268 #7F8152 #52816C
split-complementary
#545281 #816C52 #688152
monochromatic
#232236 #3C3A5C #545281 #706EA3 #9593BA

Accessibility & contrast

On white

7.24
#545281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#545281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545281
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545281#FFFFFF#000000##FFFFFF
##5452811.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445883
Deuteranopia (green-blind)
#425680
Tritanopia (blue-blind)
#485B63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545281;
/* rgb */ color: rgb(84, 82, 129);
/* oklch */ color: oklch(46.1% 0.076 285.0);
Tailwind
colors: {
  custom: {
    50: '#8682a6',
    500: '#545281',
    950: '#000000',
  },
}
SCSS
$custom: #545281;
$custom-light: #8682a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545281",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 242.553,
    "s": 22.275,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.07563,
    "h": 285
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#545281
secondary
#A6A887
accent
#BF69BB
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545281

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

Preview Lab → · Contrast checker → · Palette generator →

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