#54579F#54579F

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

Color values

HEX#54579F
RGBrgb(84, 87, 159)
HSLhsl(238, 31%, 48%)
HSVhsv(238, 47%, 62%)
CMYKcmyk(47.2%, 45.3%, 0%, 37.6%)
CIE-LABlab(39.92, 18.67, -39.61)
CIE-LCHlch(39.92, 43.79, 295.24°)
OKLaboklab(48.93% 0.0188 -0.1122)
OKLCHoklch(48.93% 0.114 279.5)
XYZxyz(13.3205, 11.2037, 34.2548)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54579F #9F9C54
analogous
#547C9F #54579F #76549F
triadic
#54579F #9F5457 #579F54
tetradic
#54579F #9F547C #9F9C54 #549F76
square
#54579F #9F547C #9F9C54 #549F76
split-complementary
#54579F #9F7654 #7C9F54
monochromatic
#2A2B4F #3F4177 #54579F #787BB8 #A0A2CD

Accessibility & contrast

On white

6.48
#54579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#54579F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54579F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54579F#FFFFFF#000000##FFFFFF
##54579F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A61A2
Deuteranopia (green-blind)
#355B9D
Tritanopia (blue-blind)
#3A6673
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54579f;
/* rgb */ color: rgb(84, 87, 159);
/* oklch */ color: oklch(48.9% 0.114 279.5);
Tailwind
colors: {
  custom: {
    50: '#8886bc',
    500: '#54579f',
    950: '#000000',
  },
}
SCSS
$custom: #54579f;
$custom-light: #8886bc;
$custom-dark: #000000;
JSON
{
  "hex": "#54579f",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 237.6,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.11379,
    "h": 279.5
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54579F

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

Preview Lab → · Contrast checker → · Palette generator →

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