#545196#545196

#545196 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.1% C 0.109 H 283.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#545196
RGBrgb(84, 81, 150)
HSLhsl(243, 30%, 45%)
HSVhsv(243, 46%, 59%)
CMYKcmyk(44%, 46%, 0%, 41.2%)
CIE-LABlab(37.79, 19.68, -37.59)
CIE-LCHlch(37.79, 42.44, 297.64°)
OKLaboklab(47.14% 0.0252 -0.1064)
OKLCHoklch(47.14% 0.109 283.3)
XYZxyz(12.1020, 9.9712, 30.1352)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545196 #939651
analogous
#517096 #545196 #775196
triadic
#545196 #965451 #519654
tetradic
#545196 #965170 #939651 #519677
square
#545196 #965170 #939651 #519677
split-complementary
#545196 #967751 #709651
monochromatic
#272647 #3E3C6E #545196 #7472B3 #9B99C8

Accessibility & contrast

On white

7.01
#545196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545196
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545196#FFFFFF#000000##FFFFFF
##5451961.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#3F5F6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545196;
/* rgb */ color: rgb(84, 81, 150);
/* oklch */ color: oklch(47.1% 0.109 283.3);
Tailwind
colors: {
  custom: {
    50: '#8881b5',
    500: '#545196',
    950: '#000000',
  },
}
SCSS
$custom: #545196;
$custom-light: #8881b5;
$custom-dark: #000000;
JSON
{
  "hex": "#545196",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 242.609,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47143,
    "c": 0.10932,
    "h": 283.3
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#545196
secondary
#B3B58E
accent
#C662C2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545196

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

Preview Lab → · Contrast checker → · Palette generator →

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