#525971#525971

#525971 is a mid, muted blue. Relative luminance 0.101; OKLCH L 46.7% C 0.040 H 272.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#525971
RGBrgb(82, 89, 113)
HSLhsl(226, 16%, 38%)
HSVhsv(226, 27%, 44%)
CMYKcmyk(27.4%, 21.2%, 0%, 55.7%)
CIE-LABlab(38.08, 3.21, -14.56)
CIE-LCHlch(38.08, 14.91, 282.43°)
OKLaboklab(46.73% 0.0015 -0.04)
OKLCHoklch(46.73% 0.04 272.1)
XYZxyz(10.0319, 10.1306, 17.0464)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525971 #716A52
analogous
#526871 #525971 #5A5271
triadic
#525971 #715259 #597152
tetradic
#525971 #715268 #716A52 #52715A
square
#525971 #715268 #716A52 #52715A
split-complementary
#525971 #715A52 #687152
monochromatic
#1F212A #383D4E #525971 #6C7594 #8F96AE

Accessibility & contrast

On white

6.94
#525971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#525971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525971
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525971#FFFFFF#000000##FFFFFF
##5259711.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#505870
Tritanopia (blue-blind)
#4A5E61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #525971;
/* rgb */ color: rgb(82, 89, 113);
/* oklch */ color: oklch(46.7% 0.040 272.1);
Tailwind
colors: {
  custom: {
    50: '#838799',
    500: '#525971',
    950: '#000000',
  },
}
SCSS
$custom: #525971;
$custom-light: #838799;
$custom-dark: #000000;
JSON
{
  "hex": "#525971",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 113
  },
  "hsl": {
    "h": 226.452,
    "s": 15.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.04,
    "h": 272.1
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#525971
secondary
#9C9683
accent
#A86FB9
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0A0B0E
muted
#7C7C7E

Preview Lab

Preview with #525971

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

Preview Lab → · Contrast checker → · Palette generator →

#525971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva