#545381#545381

#545381 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.3% C 0.074 H 284.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#545381
RGBrgb(84, 83, 129)
HSLhsl(241, 22%, 42%)
HSVhsv(241, 36%, 51%)
CMYKcmyk(34.9%, 35.7%, 0%, 49.4%)
CIE-LABlab(37.22, 12.12, -25.72)
CIE-LCHlch(37.22, 28.43, 295.23°)
OKLaboklab(46.34% 0.0181 -0.0718)
OKLCHoklch(46.34% 0.074 284.1)
XYZxyz(10.7108, 9.6560, 22.0641)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545381 #808153
analogous
#536981 #545381 #6B5381
triadic
#545381 #815453 #538154
tetradic
#545381 #815369 #808153 #53816B
square
#545381 #815369 #808153 #53816B
split-complementary
#545381 #816B53 #698153
monochromatic
#242337 #3C3B5C #545381 #706FA2 #9594BA

Accessibility & contrast

On white

7.16
#545381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545381
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545381#FFFFFF#000000##FFFFFF
##5453811.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455983
Deuteranopia (green-blind)
#445680
Tritanopia (blue-blind)
#485C64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545381;
/* rgb */ color: rgb(84, 83, 129);
/* oklch */ color: oklch(46.3% 0.074 284.1);
Tailwind
colors: {
  custom: {
    50: '#8683a6',
    500: '#545381',
    950: '#000000',
  },
}
SCSS
$custom: #545381;
$custom-light: #8683a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545381",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 241.304,
    "s": 21.698,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4634,
    "c": 0.07402,
    "h": 284.1
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#545381
secondary
#A7A888
accent
#BE6ABC
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545381

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

Preview Lab → · Contrast checker → · Palette generator →

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