#545797#545797

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

Color values

HEX#545797
RGBrgb(84, 87, 151)
HSLhsl(237, 29%, 46%)
HSVhsv(237, 44%, 59%)
CMYKcmyk(44.4%, 42.4%, 0%, 40.8%)
CIE-LABlab(39.47, 16.17, -35.53)
CIE-LCHlch(39.47, 39.04, 294.48°)
OKLaboklab(48.44% 0.0174 -0.1003)
OKLCHoklch(48.44% 0.102 279.8)
XYZxyz(12.6486, 10.9350, 30.7164)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545797 #979454
analogous
#547897 #545797 #725497
triadic
#545797 #975457 #579754
tetradic
#545797 #975478 #979454 #549772
square
#545797 #975478 #979454 #549772
split-complementary
#545797 #977254 #789754
monochromatic
#282A48 #3E4070 #545797 #7678B3 #9D9FC8

Accessibility & contrast

On white

6.59
#545797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#545797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545797
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545797#FFFFFF#000000##FFFFFF
##5457971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6099
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#3E646F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545797;
/* rgb */ color: rgb(84, 87, 151);
/* oklch */ color: oklch(48.4% 0.102 279.8);
Tailwind
colors: {
  custom: {
    50: '#8886b6',
    500: '#545797',
    950: '#000000',
  },
}
SCSS
$custom: #545797;
$custom-light: #8886b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545797",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 237.313,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48439,
    "c": 0.1018,
    "h": 279.8
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#545797
secondary
#B6B491
accent
#C063C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545797

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

Preview Lab → · Contrast checker → · Palette generator →

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