#545B8F#545B8F

#545B8F is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.8% C 0.084 H 277.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#545B8F
RGBrgb(84, 91, 143)
HSLhsl(233, 26%, 45%)
HSVhsv(233, 41%, 56%)
CMYKcmyk(41.3%, 36.4%, 0%, 43.9%)
CIE-LABlab(40.16, 11.19, -29.62)
CIE-LCHlch(40.16, 31.66, 290.70°)
OKLaboklab(48.83% 0.0102 -0.0831)
OKLCHoklch(48.83% 0.084 277)
XYZxyz(12.3537, 11.3496, 27.5210)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B8F #8F8854
analogous
#54798F #545B8F #6B548F
triadic
#545B8F #8F545B #5B8F54
tetradic
#545B8F #8F5479 #8F8854 #548F6B
square
#545B8F #8F5479 #8F8854 #548F6B
split-complementary
#545B8F #8F6B54 #798F54
monochromatic
#272A42 #3D4268 #545B8F #737AAD #9A9FC4

Accessibility & contrast

On white

6.42
#545B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#545B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545B8F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B8F#FFFFFF#000000##FFFFFF
##545B8F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496191
Deuteranopia (green-blind)
#455C8E
Tritanopia (blue-blind)
#42656E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #545b8f;
/* rgb */ color: rgb(84, 91, 143);
/* oklch */ color: oklch(48.8% 0.084 277.0);
Tailwind
colors: {
  custom: {
    50: '#8789b0',
    500: '#545b8f',
    950: '#000000',
  },
}
SCSS
$custom: #545b8f;
$custom-light: #8789b0;
$custom-dark: #000000;
JSON
{
  "hex": "#545b8f",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 143
  },
  "hsl": {
    "h": 232.881,
    "s": 25.991,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.0837,
    "h": 277
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#545B8F
secondary
#B1AD8E
accent
#B765C2
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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