#54579D#54579D

#54579D is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.8% C 0.111 H 279.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#54579D
RGBrgb(84, 87, 157)
HSLhsl(238, 30%, 47%)
HSVhsv(238, 46%, 62%)
CMYKcmyk(46.5%, 44.6%, 0%, 38.4%)
CIE-LABlab(39.81, 18.04, -38.60)
CIE-LCHlch(39.81, 42.61, 295.06°)
OKLaboklab(48.8% 0.0185 -0.1093)
OKLCHoklch(48.8% 0.111 279.6)
XYZxyz(13.1483, 11.1349, 33.3482)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54579D #9D9A54
analogous
#547C9D #54579D #75549D
triadic
#54579D #9D5457 #579D54
tetradic
#54579D #9D547C #9D9A54 #549D75
square
#54579D #9D547C #9D9A54 #549D75
split-complementary
#54579D #9D7554 #7C9D54
monochromatic
#292B4D #3F4175 #54579D #787AB7 #9FA1CC

Accessibility & contrast

On white

6.51
#54579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54579D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54579D#FFFFFF#000000##FFFFFF
##54579D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C61A0
Deuteranopia (green-blind)
#375B9B
Tritanopia (blue-blind)
#3B6672
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54579d;
/* rgb */ color: rgb(84, 87, 157);
/* oklch */ color: oklch(48.8% 0.111 279.6);
Tailwind
colors: {
  custom: {
    50: '#8886ba',
    500: '#54579d',
    950: '#000000',
  },
}
SCSS
$custom: #54579d;
$custom-light: #8886ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54579d",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 237.534,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.11082,
    "h": 279.6
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#54579D
secondary
#B9B894
accent
#C261C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #54579D

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

Preview Lab → · Contrast checker → · Palette generator →

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