#545487#545487

#545487 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.9% C 0.082 H 282.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#545487
RGBrgb(84, 84, 135)
HSLhsl(240, 23%, 43%)
HSVhsv(240, 38%, 53%)
CMYKcmyk(37.8%, 37.8%, 0%, 47.1%)
CIE-LABlab(37.80, 13.24, -28.48)
CIE-LCHlch(37.80, 31.41, 294.93°)
OKLaboklab(46.88% 0.0181 -0.0798)
OKLCHoklch(46.88% 0.082 282.8)
XYZxyz(11.1984, 9.9744, 24.2522)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545487 #878754
analogous
#546D87 #545487 #6D5487
triadic
#545487 #875454 #548754
tetradic
#545487 #87546D #878754 #54876D
square
#545487 #87546D #878754 #54876D
split-complementary
#545487 #876D54 #6D8754
monochromatic
#25253C #3D3D61 #545487 #7171A7 #9797BE

Accessibility & contrast

On white

7.01
#545487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545487
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545487#FFFFFF#000000##FFFFFF
##5454871.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#465E67
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545487;
/* rgb */ color: rgb(84, 84, 135);
/* oklch */ color: oklch(46.9% 0.082 282.8);
Tailwind
colors: {
  custom: {
    50: '#8684aa',
    500: '#545487',
    950: '#000000',
  },
}
SCSS
$custom: #545487;
$custom-light: #8684aa;
$custom-dark: #000000;
JSON
{
  "hex": "#545487",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 240,
    "s": 23.288,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.08182,
    "h": 282.8
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#545487
secondary
#ACAC8B
accent
#C068C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #545487

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

Preview Lab → · Contrast checker → · Palette generator →

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