#545395#545395

#545395 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.5% C 0.105 H 282.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#545395
RGBrgb(84, 83, 149)
HSLhsl(241, 28%, 45%)
HSVhsv(241, 44%, 58%)
CMYKcmyk(43.6%, 44.3%, 0%, 41.6%)
CIE-LABlab(38.27, 18.10, -36.23)
CIE-LCHlch(38.27, 40.50, 296.55°)
OKLaboklab(47.49% 0.0224 -0.1024)
OKLCHoklch(47.49% 0.105 282.3)
XYZxyz(12.1726, 10.2407, 29.7632)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545395 #949553
analogous
#537395 #545395 #755395
triadic
#545395 #955453 #539554
tetradic
#545395 #955373 #949553 #539575
square
#545395 #955373 #949553 #539575
split-complementary
#545395 #957553 #739553
monochromatic
#282746 #3E3D6E #545395 #7574B1 #9C9BC7

Accessibility & contrast

On white

6.89
#545395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#545395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545395
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545395#FFFFFF#000000##FFFFFF
##5453951.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C97
Deuteranopia (green-blind)
#375893
Tritanopia (blue-blind)
#40606D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545395;
/* rgb */ color: rgb(84, 83, 149);
/* oklch */ color: oklch(47.5% 0.105 282.3);
Tailwind
colors: {
  custom: {
    50: '#8783b4',
    500: '#545395',
    950: '#000000',
  },
}
SCSS
$custom: #545395;
$custom-light: #8783b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545395",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 149
  },
  "hsl": {
    "h": 240.909,
    "s": 28.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.10478,
    "h": 282.3
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#545395
secondary
#B4B48F
accent
#C563C3
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545395

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

Preview Lab → · Contrast checker → · Palette generator →

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