#545291#545291

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

Color values

HEX#545291
RGBrgb(84, 82, 145)
HSLhsl(242, 28%, 45%)
HSVhsv(242, 43%, 57%)
CMYKcmyk(42.1%, 43.4%, 0%, 43.1%)
CIE-LABlab(37.78, 17.52, -34.59)
CIE-LCHlch(37.78, 38.77, 296.85°)
OKLaboklab(47.04% 0.023 -0.0976)
OKLCHoklch(47.04% 0.1 283.3)
XYZxyz(11.7828, 9.9633, 28.0848)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545291 #8F9152
analogous
#527091 #545291 #745291
triadic
#545291 #915452 #529154
tetradic
#545291 #915270 #8F9152 #529174
square
#545291 #915270 #8F9152 #529174
split-complementary
#545291 #917452 #709152
monochromatic
#272643 #3D3C6A #545291 #7371AF #9A98C5

Accessibility & contrast

On white

7.02
#545291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545291
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545291#FFFFFF#000000##FFFFFF
##5452911.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B93
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#425F6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545291;
/* rgb */ color: rgb(84, 82, 145);
/* oklch */ color: oklch(47.0% 0.100 283.3);
Tailwind
colors: {
  custom: {
    50: '#8782b1',
    500: '#545291',
    950: '#000000',
  },
}
SCSS
$custom: #545291;
$custom-light: #8782b1;
$custom-dark: #000000;
JSON
{
  "hex": "#545291",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 241.905,
    "s": 27.753,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4704,
    "c": 0.10027,
    "h": 283.3
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#545291
secondary
#B1B28D
accent
#C464C1
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #545291

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

Preview Lab → · Contrast checker → · Palette generator →

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