#54507A#54507A

#54507A is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.3% C 0.068 H 287.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#54507A
RGBrgb(84, 80, 122)
HSLhsl(246, 21%, 40%)
HSVhsv(246, 34%, 48%)
CMYKcmyk(31.1%, 34.4%, 0%, 52.2%)
CIE-LABlab(36.04, 12.04, -23.25)
CIE-LCHlch(36.04, 26.18, 297.37°)
OKLaboklab(45.32% 0.0207 -0.0647)
OKLCHoklch(45.32% 0.068 287.7)
XYZxyz(10.0368, 9.0271, 19.6222)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54507A #767A50
analogous
#50617A #54507A #69507A
triadic
#54507A #7A5450 #507A54
tetradic
#54507A #7A5061 #767A50 #507A69
square
#54507A #7A5061 #767A50 #507A69
split-complementary
#54507A #7A6950 #617A50
monochromatic
#212030 #3B3855 #54507A #6F6A9D #938FB5

Accessibility & contrast

On white

7.49
#54507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#54507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54507A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54507A#FFFFFF#000000##FFFFFF
##54507A1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567C
Deuteranopia (green-blind)
#445479
Tritanopia (blue-blind)
#4B585F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54507a;
/* rgb */ color: rgb(84, 80, 122);
/* oklch */ color: oklch(45.3% 0.068 287.7);
Tailwind
colors: {
  custom: {
    50: '#8581a0',
    500: '#54507a',
    950: '#000000',
  },
}
SCSS
$custom: #54507a;
$custom-light: #8581a0;
$custom-dark: #000000;
JSON
{
  "hex": "#54507a",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 245.714,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.06791,
    "h": 287.7
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#54507A
secondary
#A0A383
accent
#BD6AB5
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #54507A

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

Preview Lab → · Contrast checker → · Palette generator →

#54507A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva