#545A97#545A97

#545A97 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.1% C 0.097 H 277.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#545A97
RGBrgb(84, 90, 151)
HSLhsl(235, 29%, 46%)
HSVhsv(235, 44%, 59%)
CMYKcmyk(44.4%, 40.4%, 0%, 40.8%)
CIE-LABlab(40.30, 14.27, -34.22)
CIE-LCHlch(40.30, 37.08, 292.64°)
OKLaboklab(49.07% 0.0134 -0.0965)
OKLCHoklch(49.07% 0.097 277.9)
XYZxyz(12.8966, 11.4309, 30.7990)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A97 #979154
analogous
#547B97 #545A97 #6F5497
triadic
#545A97 #97545A #5A9754
tetradic
#545A97 #97547B #979154 #54976F
square
#545A97 #97547B #979154 #54976F
split-complementary
#545A97 #976F54 #7B9754
monochromatic
#282B48 #3E4370 #545A97 #767BB3 #9DA1C8

Accessibility & contrast

On white

6.39
#545A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#545A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545A97
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A97#FFFFFF#000000##FFFFFF
##545A971.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#3E6671
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #545a97;
/* rgb */ color: rgb(84, 90, 151);
/* oklch */ color: oklch(49.1% 0.097 277.9);
Tailwind
colors: {
  custom: {
    50: '#8788b6',
    500: '#545a97',
    950: '#000000',
  },
}
SCSS
$custom: #545a97;
$custom-light: #8788b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545a97",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 234.627,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.0974,
    "h": 277.9
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#545A97
secondary
#B6B291
accent
#BC63C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545A97

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

Preview Lab → · Contrast checker → · Palette generator →

#545A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva