#545A87#545A87

#545A87 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.2% C 0.073 H 277.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#545A87
RGBrgb(84, 90, 135)
HSLhsl(233, 23%, 43%)
HSVhsv(233, 38%, 53%)
CMYKcmyk(37.8%, 33.3%, 0%, 47.1%)
CIE-LABlab(39.49, 9.43, -25.83)
CIE-LCHlch(39.49, 27.50, 290.06°)
OKLaboklab(48.19% 0.0095 -0.0721)
OKLCHoklch(48.19% 0.073 277.5)
XYZxyz(11.6842, 10.9460, 24.4141)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A87 #878154
analogous
#547387 #545A87 #675487
triadic
#545A87 #87545A #5A8754
tetradic
#545A87 #875473 #878154 #548767
square
#545A87 #875473 #878154 #548767
split-complementary
#545A87 #876754 #738754
monochromatic
#25283C #3D4161 #545A87 #7178A7 #979CBE

Accessibility & contrast

On white

6.58
#545A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#545A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545A87
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A87#FFFFFF#000000##FFFFFF
##545A871.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#45636A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545a87;
/* rgb */ color: rgb(84, 90, 135);
/* oklch */ color: oklch(48.2% 0.073 277.5);
Tailwind
colors: {
  custom: {
    50: '#8688aa',
    500: '#545a87',
    950: '#000000',
  },
}
SCSS
$custom: #545a87;
$custom-light: #8688aa;
$custom-dark: #000000;
JSON
{
  "hex": "#545a87",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 135
  },
  "hsl": {
    "h": 232.941,
    "s": 23.288,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.07275,
    "h": 277.5
  },
  "luminance": 0.10946
}

Semantic roles & 50–950 ramp

primary
#545A87
secondary
#ACA88B
accent
#B568C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545A87

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

Preview Lab → · Contrast checker → · Palette generator →

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