#545199#545199

#545199 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.114 H 283.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#545199
RGBrgb(84, 81, 153)
HSLhsl(243, 31%, 46%)
HSVhsv(243, 47%, 60%)
CMYKcmyk(45.1%, 47.1%, 0%, 40%)
CIE-LABlab(37.97, 20.61, -39.12)
CIE-LCHlch(37.97, 44.22, 297.78°)
OKLaboklab(47.33% 0.0257 -0.1108)
OKLCHoklch(47.33% 0.114 283)
XYZxyz(12.3467, 10.0690, 31.4238)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545199 #969951
analogous
#517299 #545199 #785199
triadic
#545199 #995451 #519954
tetradic
#545199 #995172 #969951 #519978
square
#545199 #995172 #969951 #519978
split-complementary
#545199 #997851 #729951
monochromatic
#282749 #3E3C71 #545199 #7573B5 #9D9BCA

Accessibility & contrast

On white

6.97
#545199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#545199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545199
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545199#FFFFFF#000000##FFFFFF
##5451991.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#3E606D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545199;
/* rgb */ color: rgb(84, 81, 153);
/* oklch */ color: oklch(47.3% 0.114 283.0);
Tailwind
colors: {
  custom: {
    50: '#8881b7',
    500: '#545199',
    950: '#000000',
  },
}
SCSS
$custom: #545199;
$custom-light: #8881b7;
$custom-dark: #000000;
JSON
{
  "hex": "#545199",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 242.5,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.11378,
    "h": 283
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#545199
secondary
#B5B78F
accent
#C761C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545199

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

Preview Lab → · Contrast checker → · Palette generator →

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