#545486#545486

#545486 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.8% C 0.080 H 282.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#545486
RGBrgb(84, 84, 134)
HSLhsl(240, 23%, 43%)
HSVhsv(240, 37%, 53%)
CMYKcmyk(37.3%, 37.3%, 0%, 47.5%)
CIE-LABlab(37.75, 12.94, -27.95)
CIE-LCHlch(37.75, 30.80, 294.85°)
OKLaboklab(46.83% 0.0179 -0.0782)
OKLCHoklch(46.83% 0.08 282.9)
XYZxyz(11.1284, 9.9463, 23.8831)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545486 #868654
analogous
#546D86 #545486 #6D5486
triadic
#545486 #865454 #548654
tetradic
#545486 #86546D #868654 #54866D
square
#545486 #86546D #868654 #54866D
split-complementary
#545486 #866D54 #6D8654
monochromatic
#25253B #3C3C60 #545486 #7171A6 #9797BE

Accessibility & contrast

On white

7.02
#545486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545486
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545486#FFFFFF#000000##FFFFFF
##5454861.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B88
Deuteranopia (green-blind)
#425785
Tritanopia (blue-blind)
#465E66
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545486;
/* rgb */ color: rgb(84, 84, 134);
/* oklch */ color: oklch(46.8% 0.080 282.9);
Tailwind
colors: {
  custom: {
    50: '#8684a9',
    500: '#545486',
    950: '#000000',
  },
}
SCSS
$custom: #545486;
$custom-light: #8684a9;
$custom-dark: #000000;
JSON
{
  "hex": "#545486",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 22.936,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.08026,
    "h": 282.9
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#545486
secondary
#ABAB8B
accent
#BF68BF
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #545486

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

Preview Lab → · Contrast checker → · Palette generator →

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