#545481#545481

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

Color values

HEX#545481
RGBrgb(84, 84, 129)
HSLhsl(240, 21%, 42%)
HSVhsv(240, 35%, 51%)
CMYKcmyk(34.9%, 34.9%, 0%, 49.4%)
CIE-LABlab(37.50, 11.48, -25.28)
CIE-LCHlch(37.50, 27.76, 294.43°)
OKLaboklab(46.56% 0.0166 -0.0705)
OKLCHoklch(46.56% 0.072 283.2)
XYZxyz(10.7878, 9.8101, 22.0898)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545481 #818154
analogous
#546B81 #545481 #6B5481
triadic
#545481 #815454 #548154
tetradic
#545481 #81546B #818154 #54816B
square
#545481 #81546B #818154 #54816B
split-complementary
#545481 #816B54 #6B8154
monochromatic
#242437 #3C3C5C #545481 #7070A2 #9595BA

Accessibility & contrast

On white

7.09
#545481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#545481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545481
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545481#FFFFFF#000000##FFFFFF
##5454811.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A83
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#485C64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545481;
/* rgb */ color: rgb(84, 84, 129);
/* oklch */ color: oklch(46.6% 0.072 283.2);
Tailwind
colors: {
  custom: {
    50: '#8684a6',
    500: '#545481',
    950: '#000000',
  },
}
SCSS
$custom: #545481;
$custom-light: #8684a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545481",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 240,
    "s": 21.127,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.07244,
    "h": 283.2
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545481

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

Preview Lab → · Contrast checker → · Palette generator →

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