#545297#545297

#545297 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.4% C 0.109 H 282.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#545297
RGBrgb(84, 82, 151)
HSLhsl(242, 30%, 46%)
HSVhsv(242, 46%, 59%)
CMYKcmyk(44.4%, 45.7%, 0%, 40.8%)
CIE-LABlab(38.12, 19.36, -37.68)
CIE-LCHlch(38.12, 42.36, 297.19°)
OKLaboklab(47.41% 0.024 -0.1066)
OKLCHoklch(47.41% 0.109 282.7)
XYZxyz(12.2577, 10.1532, 30.5861)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545297 #959752
analogous
#527297 #545297 #765297
triadic
#545297 #975452 #529754
tetradic
#545297 #975272 #959752 #529776
square
#545297 #975272 #959752 #529776
split-complementary
#545297 #977652 #729752
monochromatic
#282748 #3E3C6F #545297 #7573B3 #9C9BC9

Accessibility & contrast

On white

6.93
#545297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#545297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545297
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545297#FFFFFF#000000##FFFFFF
##5452971.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545297;
/* rgb */ color: rgb(84, 82, 151);
/* oklch */ color: oklch(47.4% 0.109 282.7);
Tailwind
colors: {
  custom: {
    50: '#8882b6',
    500: '#545297',
    950: '#000000',
  },
}
SCSS
$custom: #545297;
$custom-light: #8882b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545297",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 241.739,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47408,
    "c": 0.10929,
    "h": 282.7
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545297

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

Preview Lab → · Contrast checker → · Palette generator →

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