#545A8E#545A8E

#545A8E is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.6% C 0.084 H 277.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#545A8E
RGBrgb(84, 90, 142)
HSLhsl(234, 26%, 44%)
HSVhsv(234, 41%, 56%)
CMYKcmyk(40.8%, 36.6%, 0%, 44.3%)
CIE-LABlab(39.83, 11.52, -29.54)
CIE-LCHlch(39.83, 31.71, 291.31°)
OKLaboklab(48.56% 0.0113 -0.0828)
OKLCHoklch(48.56% 0.084 277.8)
XYZxyz(12.1934, 11.1496, 27.0956)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A8E #8E8854
analogous
#54778E #545A8E #6B548E
triadic
#545A8E #8E545A #5A8E54
tetradic
#545A8E #8E5477 #8E8854 #548E6B
square
#545A8E #8E5477 #8E8854 #548E6B
split-complementary
#545A8E #8E6B54 #778E54
monochromatic
#272941 #3D4268 #545A8E #7379AC #999EC3

Accessibility & contrast

On white

6.50
#545A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#545A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545A8E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A8E#FFFFFF#000000##FFFFFF
##545A8E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#455C8D
Tritanopia (blue-blind)
#42646D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545a8e;
/* rgb */ color: rgb(84, 90, 142);
/* oklch */ color: oklch(48.6% 0.084 277.8);
Tailwind
colors: {
  custom: {
    50: '#8788af',
    500: '#545a8e',
    950: '#000000',
  },
}
SCSS
$custom: #545a8e;
$custom-light: #8788af;
$custom-dark: #000000;
JSON
{
  "hex": "#545a8e",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 142
  },
  "hsl": {
    "h": 233.793,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.08362,
    "h": 277.8
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#545A8E
secondary
#B0AD8E
accent
#B966C2
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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