#545299#545299

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

Color values

HEX#545299
RGBrgb(84, 82, 153)
HSLhsl(242, 30%, 46%)
HSVhsv(242, 46%, 60%)
CMYKcmyk(45.1%, 46.4%, 0%, 40%)
CIE-LABlab(38.23, 19.98, -38.70)
CIE-LCHlch(38.23, 43.55, 297.30°)
OKLaboklab(47.53% 0.0244 -0.1096)
OKLCHoklch(47.53% 0.112 282.5)
XYZxyz(12.4215, 10.2188, 31.4487)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545299 #979952
analogous
#527399 #545299 #775299
triadic
#545299 #995452 #529954
tetradic
#545299 #995273 #979952 #529977
square
#545299 #995273 #979952 #529977
split-complementary
#545299 #997752 #739952
monochromatic
#282749 #3E3D71 #545299 #7674B4 #9D9CCA

Accessibility & contrast

On white

6.90
#545299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#545299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545299
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545299#FFFFFF#000000##FFFFFF
##5452991.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#335897
Tritanopia (blue-blind)
#3E616E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545299;
/* rgb */ color: rgb(84, 82, 153);
/* oklch */ color: oklch(47.5% 0.112 282.5);
Tailwind
colors: {
  custom: {
    50: '#8882b7',
    500: '#545299',
    950: '#000000',
  },
}
SCSS
$custom: #545299;
$custom-light: #8882b7;
$custom-dark: #000000;
JSON
{
  "hex": "#545299",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 241.69,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.11227,
    "h": 282.5
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#545299
secondary
#B6B790
accent
#C661C4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545299

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

Preview Lab → · Contrast checker → · Palette generator →

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