#545A8A#545A8A

#545A8A is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.3% C 0.077 H 277.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#545A8A
RGBrgb(84, 90, 138)
HSLhsl(233, 24%, 44%)
HSVhsv(233, 39%, 54%)
CMYKcmyk(39.1%, 34.8%, 0%, 45.9%)
CIE-LABlab(39.63, 10.32, -27.43)
CIE-LCHlch(39.63, 29.31, 290.62°)
OKLaboklab(48.34% 0.0103 -0.0767)
OKLCHoklch(48.34% 0.077 277.6)
XYZxyz(11.8984, 11.0316, 25.5422)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A8A #8A8454
analogous
#54758A #545A8A #69548A
triadic
#545A8A #8A545A #5A8A54
tetradic
#545A8A #8A5475 #8A8454 #548A69
square
#545A8A #8A5475 #8A8454 #548A69
split-complementary
#545A8A #8A6954 #758A54
monochromatic
#26283E #3D4164 #545A8A #7278A9 #989DC0

Accessibility & contrast

On white

6.55
#545A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#545A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545A8A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A8A#FFFFFF#000000##FFFFFF
##545A8A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608C
Deuteranopia (green-blind)
#475B89
Tritanopia (blue-blind)
#44636B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545a8a;
/* rgb */ color: rgb(84, 90, 138);
/* oklch */ color: oklch(48.3% 0.077 277.6);
Tailwind
colors: {
  custom: {
    50: '#8688ac',
    500: '#545a8a',
    950: '#000000',
  },
}
SCSS
$custom: #545a8a;
$custom-light: #8688ac;
$custom-dark: #000000;
JSON
{
  "hex": "#545a8a",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 233.333,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48343,
    "c": 0.07742,
    "h": 277.6
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#545A8A
secondary
#AEAA8C
accent
#B767C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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