#545396#545396

#545396 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.5% C 0.106 H 282.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#545396
RGBrgb(84, 83, 150)
HSLhsl(241, 29%, 46%)
HSVhsv(241, 45%, 59%)
CMYKcmyk(44%, 44.7%, 0%, 41.2%)
CIE-LABlab(38.33, 18.41, -36.74)
CIE-LCHlch(38.33, 41.10, 296.62°)
OKLaboklab(47.55% 0.0226 -0.1039)
OKLCHoklch(47.55% 0.106 282.2)
XYZxyz(12.2528, 10.2728, 30.1855)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545396 #959653
analogous
#537396 #545396 #755396
triadic
#545396 #965453 #539654
tetradic
#545396 #965373 #959653 #539675
square
#545396 #965373 #959653 #539675
split-complementary
#545396 #967553 #739653
monochromatic
#282747 #3E3D6F #545396 #7574B2 #9C9BC8

Accessibility & contrast

On white

6.87
#545396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545396
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545396#FFFFFF#000000##FFFFFF
##5453961.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#365894
Tritanopia (blue-blind)
#3F616D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545396;
/* rgb */ color: rgb(84, 83, 150);
/* oklch */ color: oklch(47.5% 0.106 282.2);
Tailwind
colors: {
  custom: {
    50: '#8883b5',
    500: '#545396',
    950: '#000000',
  },
}
SCSS
$custom: #545396;
$custom-light: #8883b5;
$custom-dark: #000000;
JSON
{
  "hex": "#545396",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 240.896,
    "s": 28.755,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4755,
    "c": 0.10628,
    "h": 282.2
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#545396
secondary
#B4B590
accent
#C563C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545396

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

Preview Lab → · Contrast checker → · Palette generator →

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