#545989#545989

#545989 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.1% C 0.077 H 278.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#545989
RGBrgb(84, 89, 137)
HSLhsl(234, 24%, 43%)
HSVhsv(234, 39%, 54%)
CMYKcmyk(38.7%, 35%, 0%, 46.3%)
CIE-LABlab(39.30, 10.66, -27.34)
CIE-LCHlch(39.30, 29.34, 291.30°)
OKLaboklab(48.07% 0.0115 -0.0765)
OKLCHoklch(48.07% 0.077 278.5)
XYZxyz(11.7426, 10.8353, 25.1348)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545989 #898454
analogous
#547389 #545989 #695489
triadic
#545989 #895459 #598954
tetradic
#545989 #895473 #898454 #548969
square
#545989 #895473 #898454 #548969
split-complementary
#545989 #896954 #738954
monochromatic
#25283D #3D4063 #545989 #7277A8 #989BC0

Accessibility & contrast

On white

6.63
#545989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#545989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545989
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545989#FFFFFF#000000##FFFFFF
##5459891.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8B
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#45626A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545989;
/* rgb */ color: rgb(84, 89, 137);
/* oklch */ color: oklch(48.1% 0.077 278.5);
Tailwind
colors: {
  custom: {
    50: '#8687ab',
    500: '#545989',
    950: '#000000',
  },
}
SCSS
$custom: #545989;
$custom-light: #8687ab;
$custom-dark: #000000;
JSON
{
  "hex": "#545989",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 234.34,
    "s": 23.982,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48071,
    "c": 0.07733,
    "h": 278.5
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#545989
secondary
#ADAA8C
accent
#B867C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545989

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

Preview Lab → · Contrast checker → · Palette generator →

#545989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva