#545D8A#545D8A

#545D8A is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.0% C 0.073 H 274.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#545D8A
RGBrgb(84, 93, 138)
HSLhsl(230, 24%, 44%)
HSVhsv(230, 39%, 54%)
CMYKcmyk(39.1%, 32.6%, 0%, 45.9%)
CIE-LABlab(40.49, 8.43, -26.09)
CIE-LCHlch(40.49, 27.42, 287.91°)
OKLaboklab(49% 0.006 -0.0729)
OKLCHoklch(49% 0.073 274.7)
XYZxyz(12.1566, 11.5480, 25.6283)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D8A #8A8154
analogous
#54788A #545D8A #66548A
triadic
#545D8A #8A545D #5D8A54
tetradic
#545D8A #8A5478 #8A8154 #548A66
square
#545D8A #8A5478 #8A8154 #548A66
split-complementary
#545D8A #8A6654 #788A54
monochromatic
#262A3E #3D4364 #545D8A #727BA9 #989FC0

Accessibility & contrast

On white

6.35
#545D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#545D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545D8A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D8A#FFFFFF#000000##FFFFFF
##545D8A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#4A5D89
Tritanopia (blue-blind)
#44666D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #545d8a;
/* rgb */ color: rgb(84, 93, 138);
/* oklch */ color: oklch(49.0% 0.073 274.7);
Tailwind
colors: {
  custom: {
    50: '#868aac',
    500: '#545d8a',
    950: '#000000',
  },
}
SCSS
$custom: #545d8a;
$custom-light: #868aac;
$custom-dark: #000000;
JSON
{
  "hex": "#545d8a",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 230,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.07312,
    "h": 274.7
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#545D8A
secondary
#AEA88C
accent
#B267C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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