#54579E#54579E

#54579E is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.9% C 0.112 H 279.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#54579E
RGBrgb(84, 87, 158)
HSLhsl(238, 31%, 47%)
HSVhsv(238, 47%, 62%)
CMYKcmyk(46.8%, 44.9%, 0%, 38%)
CIE-LABlab(39.86, 18.36, -39.10)
CIE-LCHlch(39.86, 43.20, 295.15°)
OKLaboklab(48.87% 0.0186 -0.1107)
OKLCHoklch(48.87% 0.112 279.5)
XYZxyz(13.2340, 11.1692, 33.7997)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54579E #9E9B54
analogous
#547C9E #54579E #76549E
triadic
#54579E #9E5457 #579E54
tetradic
#54579E #9E547C #9E9B54 #549E76
square
#54579E #9E547C #9E9B54 #549E76
split-complementary
#54579E #9E7654 #7C9E54
monochromatic
#2A2B4E #3F4176 #54579E #787BB7 #A0A2CC

Accessibility & contrast

On white

6.49
#54579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#54579E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54579E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54579E#FFFFFF#000000##FFFFFF
##54579E1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B61A1
Deuteranopia (green-blind)
#365B9C
Tritanopia (blue-blind)
#3A6673
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54579e;
/* rgb */ color: rgb(84, 87, 158);
/* oklch */ color: oklch(48.9% 0.112 279.5);
Tailwind
colors: {
  custom: {
    50: '#8886bb',
    500: '#54579e',
    950: '#000000',
  },
}
SCSS
$custom: #54579e;
$custom-light: #8886bb;
$custom-dark: #000000;
JSON
{
  "hex": "#54579e",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 237.568,
    "s": 30.579,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.11231,
    "h": 279.5
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#54579E
secondary
#BAB894
accent
#C361C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #54579E

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

Preview Lab → · Contrast checker → · Palette generator →

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