#545F89#545F89

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

Color values

HEX#545F89
RGBrgb(84, 95, 137)
HSLhsl(228, 24%, 43%)
HSVhsv(228, 39%, 54%)
CMYKcmyk(38.7%, 30.7%, 0%, 46.3%)
CIE-LABlab(41.02, 6.89, -24.66)
CIE-LCHlch(41.02, 25.61, 285.60°)
OKLaboklab(49.4% 0.0029 -0.0688)
OKLCHoklch(49.4% 0.069 272.4)
XYZxyz(12.2624, 11.8749, 25.3080)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F89 #897E54
analogous
#547989 #545F89 #635489
triadic
#545F89 #89545F #5F8954
tetradic
#545F89 #895479 #897E54 #548963
square
#545F89 #895479 #897E54 #548963
split-complementary
#545F89 #896354 #798954
monochromatic
#252A3D #3D4563 #545F89 #727DA8 #98A0C0

Accessibility & contrast

On white

6.22
#545F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545F89
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F89#FFFFFF#000000##FFFFFF
##545F891.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638B
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#44676E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545f89;
/* rgb */ color: rgb(84, 95, 137);
/* oklch */ color: oklch(49.4% 0.069 272.4);
Tailwind
colors: {
  custom: {
    50: '#868cab',
    500: '#545f89',
    950: '#000000',
  },
}
SCSS
$custom: #545f89;
$custom-light: #868cab;
$custom-dark: #000000;
JSON
{
  "hex": "#545f89",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 227.547,
    "s": 23.982,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.06882,
    "h": 272.4
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#545F89
secondary
#ADA68C
accent
#AE67C0
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #545F89

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

Preview Lab → · Contrast checker → · Palette generator →

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