#545387#545387

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

Color values

HEX#545387
RGBrgb(84, 83, 135)
HSLhsl(241, 24%, 43%)
HSVhsv(241, 39%, 53%)
CMYKcmyk(37.8%, 38.5%, 0%, 47.1%)
CIE-LABlab(37.52, 13.88, -28.92)
CIE-LCHlch(37.52, 32.08, 295.63°)
OKLaboklab(46.67% 0.0195 -0.0811)
OKLCHoklch(46.67% 0.083 283.6)
XYZxyz(11.1214, 9.8202, 24.2265)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545387 #868753
analogous
#536C87 #545387 #6E5387
triadic
#545387 #875453 #538754
tetradic
#545387 #87536C #868753 #53876E
square
#545387 #87536C #868753 #53876E
split-complementary
#545387 #876E53 #6C8753
monochromatic
#25243B #3C3C61 #545387 #7170A7 #9796BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545387#FFFFFF#000000##FFFFFF
##5453871.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#465D66
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545387;
/* rgb */ color: rgb(84, 83, 135);
/* oklch */ color: oklch(46.7% 0.083 283.6);
Tailwind
colors: {
  custom: {
    50: '#8683aa',
    500: '#545387',
    950: '#000000',
  },
}
SCSS
$custom: #545387;
$custom-light: #8683aa;
$custom-dark: #000000;
JSON
{
  "hex": "#545387",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 241.154,
    "s": 23.853,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.08338,
    "h": 283.6
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#545387
secondary
#ABAC8A
accent
#C067BF
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #545387

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

Preview Lab → · Contrast checker → · Palette generator →

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