#525978#525978

#525978 is a mid, muted blue. Relative luminance 0.103; OKLCH L 47.0% C 0.051 H 274.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#525978
RGBrgb(82, 89, 120)
HSLhsl(229, 19%, 40%)
HSVhsv(229, 32%, 47%)
CMYKcmyk(31.7%, 25.8%, 0%, 52.9%)
CIE-LABlab(38.37, 5.13, -18.42)
CIE-LCHlch(38.37, 19.13, 285.56°)
OKLaboklab(47.05% 0.004 -0.0509)
OKLCHoklch(47.05% 0.051 274.4)
XYZxyz(10.4413, 10.2943, 19.2025)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525978 #787152
analogous
#526C78 #525978 #5E5278
triadic
#525978 #785259 #597852
tetradic
#525978 #78526C #787152 #52785E
square
#525978 #78526C #787152 #52785E
split-complementary
#525978 #785E52 #6C7852
monochromatic
#20232F #393E54 #525978 #6C759B #9197B4

Accessibility & contrast

On white

6.86
#525978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#525978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525978
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525978#FFFFFF#000000##FFFFFF
##5259781.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C79
Deuteranopia (green-blind)
#4D5977
Tritanopia (blue-blind)
#485F64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #525978;
/* rgb */ color: rgb(82, 89, 120);
/* oklch */ color: oklch(47.0% 0.051 274.4);
Tailwind
colors: {
  custom: {
    50: '#83879f',
    500: '#525978',
    950: '#000000',
  },
}
SCSS
$custom: #525978;
$custom-light: #83879f;
$custom-dark: #000000;
JSON
{
  "hex": "#525978",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 228.947,
    "s": 18.812,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4705,
    "c": 0.05107,
    "h": 274.4
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#525978
secondary
#A19C85
accent
#AD6CBB
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0B0E
muted
#7C7C7E

Preview Lab

Preview with #525978

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

Preview Lab → · Contrast checker → · Palette generator →

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