#545295#545295

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

Color values

HEX#545295
RGBrgb(84, 82, 149)
HSLhsl(242, 29%, 45%)
HSVhsv(242, 45%, 58%)
CMYKcmyk(43.6%, 45%, 0%, 41.6%)
CIE-LABlab(38.00, 18.74, -36.66)
CIE-LCHlch(38.00, 41.17, 297.08°)
OKLaboklab(47.28% 0.0237 -0.1036)
OKLCHoklch(47.28% 0.106 282.9)
XYZxyz(12.0967, 10.0888, 29.7379)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545295 #939552
analogous
#527195 #545295 #755295
triadic
#545295 #955452 #529554
tetradic
#545295 #955271 #939552 #529575
square
#545295 #955271 #939552 #529575
split-complementary
#545295 #957552 #719552
monochromatic
#272746 #3E3C6E #545295 #7473B2 #9B9AC7

Accessibility & contrast

On white

6.96
#545295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545295
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545295#FFFFFF#000000##FFFFFF
##5452951.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#40606C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545295;
/* rgb */ color: rgb(84, 82, 149);
/* oklch */ color: oklch(47.3% 0.106 282.9);
Tailwind
colors: {
  custom: {
    50: '#8882b4',
    500: '#545295',
    950: '#000000',
  },
}
SCSS
$custom: #545295;
$custom-light: #8882b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545295",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 241.791,
    "s": 29.004,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.1063,
    "h": 282.9
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#545295
secondary
#B3B48E
accent
#C563C2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545295

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

Preview Lab → · Contrast checker → · Palette generator →

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