#545595#545595

#545595 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.102 H 281.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#545595
RGBrgb(84, 85, 149)
HSLhsl(239, 28%, 46%)
HSVhsv(239, 44%, 58%)
CMYKcmyk(43.6%, 43%, 0%, 41.6%)
CIE-LABlab(38.81, 16.83, -35.37)
CIE-LCHlch(38.81, 39.17, 295.45°)
OKLaboklab(47.9% 0.0197 -0.0998)
OKLCHoklch(47.9% 0.102 281.2)
XYZxyz(12.3279, 10.5512, 29.8150)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545595 #959454
analogous
#547595 #545595 #735495
triadic
#545595 #955455 #559554
tetradic
#545595 #955475 #959454 #549573
square
#545595 #955475 #959454 #549573
split-complementary
#545595 #957354 #759554
monochromatic
#282847 #3E3F6E #545595 #7576B1 #9C9DC7

Accessibility & contrast

On white

6.75
#545595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#545595 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545595
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545595#FFFFFF#000000##FFFFFF
##5455951.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#3A5994
Tritanopia (blue-blind)
#40626E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545595;
/* rgb */ color: rgb(84, 85, 149);
/* oklch */ color: oklch(47.9% 0.102 281.2);
Tailwind
colors: {
  custom: {
    50: '#8784b4',
    500: '#545595',
    950: '#000000',
  },
}
SCSS
$custom: #545595;
$custom-light: #8784b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545595",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 149
  },
  "hsl": {
    "h": 239.077,
    "s": 27.897,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.10176,
    "h": 281.2
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#545595
secondary
#B4B490
accent
#C364C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545595

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

Preview Lab → · Contrast checker → · Palette generator →

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