#545490#545490

#545490 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.4% C 0.096 H 282.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#545490
RGBrgb(84, 84, 144)
HSLhsl(240, 26%, 45%)
HSVhsv(240, 42%, 56%)
CMYKcmyk(41.7%, 41.7%, 0%, 43.5%)
CIE-LABlab(38.27, 15.94, -33.21)
CIE-LCHlch(38.27, 36.84, 295.63°)
OKLaboklab(47.4% 0.0201 -0.0935)
OKLCHoklch(47.4% 0.096 282.1)
XYZxyz(11.8591, 10.2386, 27.7315)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545490 #909054
analogous
#547290 #545490 #725490
triadic
#545490 #905454 #549054
tetradic
#545490 #905472 #909054 #549072
square
#545490 #905472 #909054 #549072
split-complementary
#545490 #907254 #729054
monochromatic
#272743 #3D3D69 #545490 #7474AE #9A9AC4

Accessibility & contrast

On white

6.89
#545490 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#545490 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545490
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545490#FFFFFF#000000##FFFFFF
##5454901.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#3C588F
Tritanopia (blue-blind)
#42606B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545490;
/* rgb */ color: rgb(84, 84, 144);
/* oklch */ color: oklch(47.4% 0.096 282.1);
Tailwind
colors: {
  custom: {
    50: '#8784b1',
    500: '#545490',
    950: '#000000',
  },
}
SCSS
$custom: #545490;
$custom-light: #8784b1;
$custom-dark: #000000;
JSON
{
  "hex": "#545490",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 26.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.09568,
    "h": 282.1
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#545490
secondary
#B1B18E
accent
#C365C3
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #545490

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

Preview Lab → · Contrast checker → · Palette generator →

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