#54538C#54538C

#54538C is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.0% C 0.091 H 283.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#54538C
RGBrgb(84, 83, 140)
HSLhsl(241, 26%, 44%)
HSVhsv(241, 41%, 55%)
CMYKcmyk(40%, 40.7%, 0%, 45.1%)
CIE-LABlab(37.78, 15.36, -31.56)
CIE-LCHlch(37.78, 35.10, 295.96°)
OKLaboklab(46.95% 0.0207 -0.0887)
OKLCHoklch(46.95% 0.091 283.1)
XYZxyz(11.4817, 9.9644, 26.1242)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54538C #8B8C53
analogous
#536E8C #54538C #70538C
triadic
#54538C #8C5453 #538C54
tetradic
#54538C #8C536E #8B8C53 #538C70
square
#54538C #8C536E #8B8C53 #538C70
split-complementary
#54538C #8C7053 #6E8C53
monochromatic
#26253F #3D3C66 #54538C #7271AB #9898C2

Accessibility & contrast

On white

7.02
#54538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#54538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54538C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54538C#FFFFFF#000000##FFFFFF
##54538C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#445E69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #54538c;
/* rgb */ color: rgb(84, 83, 140);
/* oklch */ color: oklch(47.0% 0.091 283.1);
Tailwind
colors: {
  custom: {
    50: '#8783ae',
    500: '#54538c',
    950: '#000000',
  },
}
SCSS
$custom: #54538c;
$custom-light: #8783ae;
$custom-dark: #000000;
JSON
{
  "hex": "#54538c",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 241.053,
    "s": 25.561,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.0911,
    "h": 283.1
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#54538C
secondary
#AEAF8C
accent
#C266C0
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #54538C

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

Preview Lab → · Contrast checker → · Palette generator →

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