#545985#545985

#545985 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.9% C 0.071 H 278.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#545985
RGBrgb(84, 89, 133)
HSLhsl(234, 23%, 43%)
HSVhsv(234, 37%, 52%)
CMYKcmyk(36.8%, 33.1%, 0%, 47.8%)
CIE-LABlab(39.11, 9.48, -25.21)
CIE-LCHlch(39.11, 26.93, 290.61°)
OKLaboklab(47.86% 0.0104 -0.0703)
OKLCHoklch(47.86% 0.071 278.4)
XYZxyz(11.4610, 10.7226, 23.6516)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545985 #858054
analogous
#547185 #545985 #685485
triadic
#545985 #855459 #598554
tetradic
#545985 #855471 #858054 #548568
square
#545985 #855471 #858054 #548568
split-complementary
#545985 #856854 #718554
monochromatic
#25273A #3C405F #545985 #7176A5 #969ABD

Accessibility & contrast

On white

6.68
#545985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#545985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545985
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545985#FFFFFF#000000##FFFFFF
##5459851.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#485A84
Tritanopia (blue-blind)
#466169
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #545985;
/* rgb */ color: rgb(84, 89, 133);
/* oklch */ color: oklch(47.9% 0.071 278.4);
Tailwind
colors: {
  custom: {
    50: '#8687a8',
    500: '#545985',
    950: '#000000',
  },
}
SCSS
$custom: #545985;
$custom-light: #8687a8;
$custom-dark: #000000;
JSON
{
  "hex": "#545985",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 233.878,
    "s": 22.581,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.07109,
    "h": 278.4
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#545985
secondary
#AAA78A
accent
#B669BF
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #545985

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

Preview Lab → · Contrast checker → · Palette generator →

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