#54538D#54538D

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

Color values

HEX#54538D
RGBrgb(84, 83, 141)
HSLhsl(241, 26%, 44%)
HSVhsv(241, 41%, 55%)
CMYKcmyk(40.4%, 41.1%, 0%, 44.7%)
CIE-LABlab(37.83, 15.67, -32.08)
CIE-LCHlch(37.83, 35.70, 296.03°)
OKLaboklab(47.01% 0.0209 -0.0902)
OKLCHoklch(47.01% 0.093 283)
XYZxyz(11.5558, 9.9940, 26.5143)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54538D #8C8D53
analogous
#536F8D #54538D #71538D
triadic
#54538D #8D5453 #538D54
tetradic
#54538D #8D536F #8C8D53 #538D71
square
#54538D #8D536F #8C8D53 #538D71
split-complementary
#54538D #8D7153 #6F8D53
monochromatic
#262640 #3D3C66 #54538D #7371AC #9998C2

Accessibility & contrast

On white

7.00
#54538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#54538D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54538D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54538D#FFFFFF#000000##FFFFFF
##54538D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#445E69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #54538d;
/* rgb */ color: rgb(84, 83, 141);
/* oklch */ color: oklch(47.0% 0.093 283.0);
Tailwind
colors: {
  custom: {
    50: '#8783ae',
    500: '#54538d',
    950: '#000000',
  },
}
SCSS
$custom: #54538d;
$custom-light: #8783ae;
$custom-dark: #000000;
JSON
{
  "hex": "#54538d",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 241.034,
    "s": 25.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.09263,
    "h": 283
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#54538D
secondary
#AFB08C
accent
#C266C1
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #54538D

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

Preview Lab → · Contrast checker → · Palette generator →

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