#545F8A#545F8A

#545F8A is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.4% C 0.070 H 272.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#545F8A
RGBrgb(84, 95, 138)
HSLhsl(228, 24%, 44%)
HSVhsv(228, 39%, 54%)
CMYKcmyk(39.1%, 31.2%, 0%, 45.9%)
CIE-LABlab(41.06, 7.18, -25.20)
CIE-LCHlch(41.06, 26.20, 285.91°)
OKLaboklab(49.45% 0.0032 -0.0703)
OKLCHoklch(49.45% 0.07 272.6)
XYZxyz(12.3344, 11.9037, 25.6876)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F8A #8A7F54
analogous
#547A8A #545F8A #64548A
triadic
#545F8A #8A545F #5F8A54
tetradic
#545F8A #8A547A #8A7F54 #548A64
square
#545F8A #8A547A #8A7F54 #548A64
split-complementary
#545F8A #8A6454 #7A8A54
monochromatic
#262B3E #3D4564 #545F8A #727DA9 #98A0C0

Accessibility & contrast

On white

6.21
#545F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#545F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F8A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F8A#FFFFFF#000000##FFFFFF
##545F8A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638C
Deuteranopia (green-blind)
#4C5F89
Tritanopia (blue-blind)
#44686E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545f8a;
/* rgb */ color: rgb(84, 95, 138);
/* oklch */ color: oklch(49.4% 0.070 272.6);
Tailwind
colors: {
  custom: {
    50: '#868cac',
    500: '#545f8a',
    950: '#000000',
  },
}
SCSS
$custom: #545f8a;
$custom-light: #868cac;
$custom-dark: #000000;
JSON
{
  "hex": "#545f8a",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 227.778,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.07036,
    "h": 272.6
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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