#526178#526178

#526178 is a mid, muted blue. Relative luminance 0.117; OKLCH L 48.9% C 0.041 H 258.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#526178
RGBrgb(82, 97, 120)
HSLhsl(216, 19%, 40%)
HSVhsv(216, 32%, 47%)
CMYKcmyk(31.7%, 19.2%, 0%, 52.9%)
CIE-LABlab(40.73, 0.18, -14.80)
CIE-LCHlch(40.73, 14.80, 270.69°)
OKLaboklab(48.9% -0.008 -0.0407)
OKLCHoklch(48.9% 0.041 258.8)
XYZxyz(11.1436, 11.6989, 19.4366)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526178 #786952
analogous
#527478 #526178 #565278
triadic
#526178 #785261 #617852
tetradic
#526178 #785274 #786952 #527856
square
#526178 #785274 #786952 #527856
split-complementary
#526178 #785652 #747852
monochromatic
#20262F #394454 #526178 #6C7F9B #919FB4

Accessibility & contrast

On white

6.29
#526178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#526178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526178
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526178#FFFFFF#000000##FFFFFF
##5261781.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596279
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#476669
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #526178;
/* rgb */ color: rgb(82, 97, 120);
/* oklch */ color: oklch(48.9% 0.041 258.8);
Tailwind
colors: {
  custom: {
    50: '#838d9f',
    500: '#526178',
    950: '#000000',
  },
}
SCSS
$custom: #526178;
$custom-light: #838d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#526178",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 216.316,
    "s": 18.812,
    "l": 39.608
  },
  "oklch": {
    "l": 0.489,
    "c": 0.04147,
    "h": 258.8
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#526178
secondary
#A19685
accent
#9C6CBB
background
#F8F8F9
surface
#EFF0F2
border
#CACBCC
text
#0B0C0E
muted
#7C7D7E

Preview Lab

Preview with #526178

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

Preview Lab → · Contrast checker → · Palette generator →

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