#545987#545987

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

Color values

HEX#545987
RGBrgb(84, 89, 135)
HSLhsl(234, 23%, 43%)
HSVhsv(234, 38%, 53%)
CMYKcmyk(37.8%, 34.1%, 0%, 47.1%)
CIE-LABlab(39.20, 10.07, -26.28)
CIE-LCHlch(39.20, 28.14, 290.96°)
OKLaboklab(47.97% 0.0109 -0.0734)
OKLCHoklch(47.97% 0.074 278.5)
XYZxyz(11.6005, 10.7784, 24.3862)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545987 #878254
analogous
#547287 #545987 #685487
triadic
#545987 #875459 #598754
tetradic
#545987 #875472 #878254 #548768
square
#545987 #875472 #878254 #548768
split-complementary
#545987 #876854 #728754
monochromatic
#25273C #3D4061 #545987 #7177A7 #979BBE

Accessibility & contrast

On white

6.65
#545987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#545987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545987
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545987#FFFFFF#000000##FFFFFF
##5459871.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#45626A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #545987;
/* rgb */ color: rgb(84, 89, 135);
/* oklch */ color: oklch(48.0% 0.074 278.5);
Tailwind
colors: {
  custom: {
    50: '#8687aa',
    500: '#545987',
    950: '#000000',
  },
}
SCSS
$custom: #545987;
$custom-light: #8687aa;
$custom-dark: #000000;
JSON
{
  "hex": "#545987",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 234.118,
    "s": 23.288,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.07422,
    "h": 278.5
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#545987
secondary
#ACA88B
accent
#B768C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545987

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

Preview Lab → · Contrast checker → · Palette generator →

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