#545E8A#545E8A

#545E8A is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.2% C 0.072 H 273.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#545E8A
RGBrgb(84, 94, 138)
HSLhsl(229, 24%, 44%)
HSVhsv(229, 39%, 54%)
CMYKcmyk(39.1%, 31.9%, 0%, 45.9%)
CIE-LABlab(40.78, 7.81, -25.64)
CIE-LCHlch(40.78, 26.81, 286.93°)
OKLaboklab(49.23% 0.0046 -0.0716)
OKLCHoklch(49.23% 0.072 273.7)
XYZxyz(12.2449, 11.7247, 25.6577)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E8A #8A8054
analogous
#54798A #545E8A #65548A
triadic
#545E8A #8A545E #5E8A54
tetradic
#545E8A #8A5479 #8A8054 #548A65
square
#545E8A #8A5479 #8A8054 #548A65
split-complementary
#545E8A #8A6554 #798A54
monochromatic
#262A3E #3D4464 #545E8A #727CA9 #98A0C0

Accessibility & contrast

On white

6.28
#545E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#545E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545E8A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E8A#FFFFFF#000000##FFFFFF
##545E8A1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50628C
Deuteranopia (green-blind)
#4B5E89
Tritanopia (blue-blind)
#44676E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545e8a;
/* rgb */ color: rgb(84, 94, 138);
/* oklch */ color: oklch(49.2% 0.072 273.7);
Tailwind
colors: {
  custom: {
    50: '#868bac',
    500: '#545e8a',
    950: '#000000',
  },
}
SCSS
$custom: #545e8a;
$custom-light: #868bac;
$custom-dark: #000000;
JSON
{
  "hex": "#545e8a",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 228.889,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.07173,
    "h": 273.7
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#545E8A
secondary
#AEA78C
accent
#B067C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #545E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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