#545593#545593

#545593 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.8% C 0.099 H 281.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#545593
RGBrgb(84, 85, 147)
HSLhsl(239, 27%, 45%)
HSVhsv(239, 43%, 58%)
CMYKcmyk(42.9%, 42.2%, 0%, 42.4%)
CIE-LABlab(38.70, 16.21, -34.33)
CIE-LCHlch(38.70, 37.97, 295.28°)
OKLaboklab(47.78% 0.0193 -0.0968)
OKLCHoklch(47.78% 0.099 281.3)
XYZxyz(12.1696, 10.4879, 28.9813)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545593 #939254
analogous
#547493 #545593 #735493
triadic
#545593 #935455 #559354
tetradic
#545593 #935474 #939254 #549373
square
#545593 #935474 #939254 #549373
split-complementary
#545593 #937354 #749354
monochromatic
#272845 #3E3E6C #545593 #7475B0 #9B9CC6

Accessibility & contrast

On white

6.78
#545593 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#545593 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545593
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545593#FFFFFF#000000##FFFFFF
##5455931.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D95
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#41616D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545593;
/* rgb */ color: rgb(84, 85, 147);
/* oklch */ color: oklch(47.8% 0.099 281.3);
Tailwind
colors: {
  custom: {
    50: '#8784b3',
    500: '#545593',
    950: '#000000',
  },
}
SCSS
$custom: #545593;
$custom-light: #8784b3;
$custom-dark: #000000;
JSON
{
  "hex": "#545593",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 147
  },
  "hsl": {
    "h": 239.048,
    "s": 27.273,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.09873,
    "h": 281.3
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#545593
secondary
#B3B390
accent
#C264C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545593

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

Preview Lab → · Contrast checker → · Palette generator →

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