#545398#545398

#545398 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.7% C 0.109 H 282.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#545398
RGBrgb(84, 83, 152)
HSLhsl(241, 29%, 46%)
HSVhsv(241, 45%, 60%)
CMYKcmyk(44.7%, 45.4%, 0%, 40.4%)
CIE-LABlab(38.44, 19.03, -37.76)
CIE-LCHlch(38.44, 42.29, 296.74°)
OKLaboklab(47.67% 0.0229 -0.1068)
OKLCHoklch(47.67% 0.109 282.1)
XYZxyz(12.4152, 10.3378, 31.0409)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545398 #979853
analogous
#537498 #545398 #765398
triadic
#545398 #985453 #539854
tetradic
#545398 #985374 #979853 #539876
square
#545398 #985374 #979853 #539876
split-complementary
#545398 #987653 #749853
monochromatic
#282849 #3E3D70 #545398 #7675B3 #9D9CC9

Accessibility & contrast

On white

6.85
#545398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#545398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545398
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545398#FFFFFF#000000##FFFFFF
##5453981.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#3E616E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545398;
/* rgb */ color: rgb(84, 83, 152);
/* oklch */ color: oklch(47.7% 0.109 282.1);
Tailwind
colors: {
  custom: {
    50: '#8883b7',
    500: '#545398',
    950: '#000000',
  },
}
SCSS
$custom: #545398;
$custom-light: #8883b7;
$custom-dark: #000000;
JSON
{
  "hex": "#545398",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 240.87,
    "s": 29.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.10927,
    "h": 282.1
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#545398
secondary
#B6B691
accent
#C662C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545398

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

Preview Lab → · Contrast checker → · Palette generator →

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