#545296#545296

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

Color values

HEX#545296
RGBrgb(84, 82, 150)
HSLhsl(242, 29%, 45%)
HSVhsv(242, 45%, 59%)
CMYKcmyk(44%, 45.3%, 0%, 41.2%)
CIE-LABlab(38.06, 19.05, -37.17)
CIE-LCHlch(38.06, 41.77, 297.13°)
OKLaboklab(47.35% 0.0239 -0.1051)
OKLCHoklch(47.35% 0.108 282.8)
XYZxyz(12.1769, 10.1209, 30.1602)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545296 #949652
analogous
#527296 #545296 #765296
triadic
#545296 #965452 #529654
tetradic
#545296 #965272 #949652 #529676
square
#545296 #965272 #949652 #529676
split-complementary
#545296 #967652 #729652
monochromatic
#282747 #3E3C6E #545296 #7573B2 #9C9AC8

Accessibility & contrast

On white

6.94
#545296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#545296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545296
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545296#FFFFFF#000000##FFFFFF
##5452961.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#3F606D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545296;
/* rgb */ color: rgb(84, 82, 150);
/* oklch */ color: oklch(47.3% 0.108 282.8);
Tailwind
colors: {
  custom: {
    50: '#8882b5',
    500: '#545296',
    950: '#000000',
  },
}
SCSS
$custom: #545296;
$custom-light: #8882b5;
$custom-dark: #000000;
JSON
{
  "hex": "#545296",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 241.765,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.1078,
    "h": 282.8
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#545296
secondary
#B4B58F
accent
#C662C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545296

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

Preview Lab → · Contrast checker → · Palette generator →

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