#545591#545591

#545591 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.096 H 281.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#545591
RGBrgb(84, 85, 145)
HSLhsl(239, 27%, 45%)
HSVhsv(239, 42%, 57%)
CMYKcmyk(42.1%, 41.4%, 0%, 43.1%)
CIE-LABlab(38.60, 15.60, -33.30)
CIE-LCHlch(38.60, 36.77, 295.11°)
OKLaboklab(47.66% 0.0189 -0.0938)
OKLCHoklch(47.66% 0.096 281.4)
XYZxyz(12.0140, 10.4257, 28.1619)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545591 #919054
analogous
#547491 #545591 #715491
triadic
#545591 #915455 #559154
tetradic
#545591 #915474 #919054 #549171
square
#545591 #915474 #919054 #549171
split-complementary
#545591 #917154 #749154
monochromatic
#272843 #3E3E6A #545591 #7475AE #9B9BC5

Accessibility & contrast

On white

6.81
#545591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#545591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545591
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545591#FFFFFF#000000##FFFFFF
##5455911.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D93
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#42616C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545591;
/* rgb */ color: rgb(84, 85, 145);
/* oklch */ color: oklch(47.7% 0.096 281.4);
Tailwind
colors: {
  custom: {
    50: '#8784b1',
    500: '#545591',
    950: '#000000',
  },
}
SCSS
$custom: #545591;
$custom-light: #8784b1;
$custom-dark: #000000;
JSON
{
  "hex": "#545591",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 145
  },
  "hsl": {
    "h": 239.016,
    "s": 26.638,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.09568,
    "h": 281.4
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#545591
secondary
#B2B18F
accent
#C165C3
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545591

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

Preview Lab → · Contrast checker → · Palette generator →

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