#54549E#54549E

#54549E is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.3% C 0.117 H 281.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#54549E
RGBrgb(84, 84, 158)
HSLhsl(240, 31%, 47%)
HSVhsv(240, 47%, 62%)
CMYKcmyk(46.8%, 46.8%, 0%, 38%)
CIE-LABlab(39.06, 20.27, -40.38)
CIE-LCHlch(39.06, 45.18, 296.65°)
OKLaboklab(48.26% 0.0225 -0.1145)
OKLCHoklch(48.26% 0.117 281.1)
XYZxyz(12.9962, 10.6935, 33.7204)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54549E #9E9E54
analogous
#54799E #54549E #79549E
triadic
#54549E #9E5454 #549E54
tetradic
#54549E #9E5479 #9E9E54 #549E79
square
#54549E #9E5479 #9E9E54 #549E79
split-complementary
#54549E #9E7954 #799E54
monochromatic
#2A2A4E #3F3F76 #54549E #7878B7 #A0A0CC

Accessibility & contrast

On white

6.69
#54549E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#54549E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54549E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54549E#FFFFFF#000000##FFFFFF
##54549E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#31599C
Tritanopia (blue-blind)
#3B6371
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #54549e;
/* rgb */ color: rgb(84, 84, 158);
/* oklch */ color: oklch(48.3% 0.117 281.1);
Tailwind
colors: {
  custom: {
    50: '#8984bb',
    500: '#54549e',
    950: '#000000',
  },
}
SCSS
$custom: #54549e;
$custom-light: #8984bb;
$custom-dark: #000000;
JSON
{
  "hex": "#54549e",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 30.579,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.11671,
    "h": 281.1
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#54549E
secondary
#BABA94
accent
#C761C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #54549E

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

Preview Lab → · Contrast checker → · Palette generator →

#54549E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva