#534C8D#534C8D

#534C8D is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.5% C 0.104 H 286.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#534C8D
RGBrgb(83, 76, 141)
HSLhsl(246, 30%, 43%)
HSVhsv(246, 46%, 55%)
CMYKcmyk(41.1%, 46.1%, 0%, 44.7%)
CIE-LABlab(35.85, 19.86, -35.22)
CIE-LCHlch(35.85, 40.44, 299.42°)
OKLaboklab(45.48% 0.0293 -0.0995)
OKLCHoklch(45.48% 0.104 286.4)
XYZxyz(10.9581, 8.9306, 26.3405)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#534C8D #868D4C
analogous
#4C658D #534C8D #744C8D
triadic
#534C8D #8D534C #4C8D53
tetradic
#534C8D #8D4C65 #868D4C #4C8D74
square
#534C8D #8D4C65 #868D4C #4C8D74
split-complementary
#534C8D #8D744C #658D4C
monochromatic
#24213D #3C3765 #534C8D #7068AE #9690C3

Accessibility & contrast

On white

7.54
#534C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#534C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #534C8D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##534C8D#FFFFFF#000000##FFFFFF
##534C8D1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#33538B
Tritanopia (blue-blind)
#435965
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #534c8d;
/* rgb */ color: rgb(83, 76, 141);
/* oklch */ color: oklch(45.5% 0.104 286.4);
Tailwind
colors: {
  custom: {
    50: '#867eaf',
    500: '#534c8d',
    950: '#000000',
  },
}
SCSS
$custom: #534c8d;
$custom-light: #867eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#534c8d",
  "rgb": {
    "r": 83,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 246.462,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45484,
    "c": 0.10371,
    "h": 286.4
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#534C8D
secondary
#ABAF85
accent
#C662BB
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #534C8D

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

Preview Lab → · Contrast checker → · Palette generator →

#534C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva