#545397#545397

#545397 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.6% C 0.108 H 282.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#545397
RGBrgb(84, 83, 151)
HSLhsl(241, 29%, 46%)
HSVhsv(241, 45%, 59%)
CMYKcmyk(44.4%, 45%, 0%, 40.8%)
CIE-LABlab(38.38, 18.72, -37.25)
CIE-LCHlch(38.38, 41.69, 296.68°)
OKLaboklab(47.61% 0.0227 -0.1054)
OKLCHoklch(47.61% 0.108 282.2)
XYZxyz(12.3337, 10.3052, 30.6114)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545397 #969753
analogous
#537497 #545397 #765397
triadic
#545397 #975453 #539754
tetradic
#545397 #975374 #969753 #539776
square
#545397 #975374 #969753 #539776
split-complementary
#545397 #977653 #749753
monochromatic
#282848 #3E3D70 #545397 #7574B3 #9D9CC9

Accessibility & contrast

On white

6.86
#545397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#545397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545397
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545397#FFFFFF#000000##FFFFFF
##5453971.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#3F616D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545397;
/* rgb */ color: rgb(84, 83, 151);
/* oklch */ color: oklch(47.6% 0.108 282.2);
Tailwind
colors: {
  custom: {
    50: '#8883b6',
    500: '#545397',
    950: '#000000',
  },
}
SCSS
$custom: #545397;
$custom-light: #8883b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545397",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 240.882,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.10778,
    "h": 282.2
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#545397
secondary
#B5B690
accent
#C562C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545397

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

Preview Lab → · Contrast checker → · Palette generator →

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