#54579C#54579C

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

Color values

HEX#54579C
RGBrgb(84, 87, 156)
HSLhsl(238, 30%, 47%)
HSVhsv(238, 46%, 61%)
CMYKcmyk(46.2%, 44.2%, 0%, 38.8%)
CIE-LABlab(39.75, 17.73, -38.09)
CIE-LCHlch(39.75, 42.01, 294.96°)
OKLaboklab(48.74% 0.0183 -0.1078)
OKLCHoklch(48.74% 0.109 279.6)
XYZxyz(13.0633, 11.1009, 32.9004)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54579C #9C9954
analogous
#547B9C #54579C #75549C
triadic
#54579C #9C5457 #579C54
tetradic
#54579C #9C547B #9C9954 #549C75
square
#54579C #9C547B #9C9954 #549C75
split-complementary
#54579C #9C7554 #7B9C54
monochromatic
#292B4C #3F4174 #54579C #777AB6 #9FA1CB

Accessibility & contrast

On white

6.52
#54579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#54579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54579C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54579C#FFFFFF#000000##FFFFFF
##54579C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609F
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#3C6572
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54579c;
/* rgb */ color: rgb(84, 87, 156);
/* oklch */ color: oklch(48.7% 0.109 279.6);
Tailwind
colors: {
  custom: {
    50: '#8886b9',
    500: '#54579c',
    950: '#000000',
  },
}
SCSS
$custom: #54579c;
$custom-light: #8886b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54579c",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 237.5,
    "s": 30,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.10932,
    "h": 279.6
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#54579C
secondary
#B9B793
accent
#C262C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #54579C

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

Preview Lab → · Contrast checker → · Palette generator →

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