#525596#525596

#525596 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.8% C 0.104 H 279.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#525596
RGBrgb(82, 85, 150)
HSLhsl(237, 29%, 45%)
HSVhsv(237, 45%, 59%)
CMYKcmyk(45.3%, 43.3%, 0%, 41.2%)
CIE-LABlab(38.71, 16.61, -36.14)
CIE-LCHlch(38.71, 39.77, 294.68°)
OKLaboklab(47.8% 0.0175 -0.1021)
OKLCHoklch(47.8% 0.104 279.7)
XYZxyz(12.2315, 10.4923, 30.2290)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525596 #969352
analogous
#527796 #525596 #715296
triadic
#525596 #965255 #559652
tetradic
#525596 #965277 #969352 #529671
square
#525596 #965277 #969352 #529671
split-complementary
#525596 #967152 #779652
monochromatic
#272847 #3C3F6E #525596 #7376B2 #9A9CC8

Accessibility & contrast

On white

6.78
#525596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#525596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525596
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525596#FFFFFF#000000##FFFFFF
##5255961.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#3B626E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #525596;
/* rgb */ color: rgb(82, 85, 150);
/* oklch */ color: oklch(47.8% 0.104 279.7);
Tailwind
colors: {
  custom: {
    50: '#8684b5',
    500: '#525596',
    950: '#000000',
  },
}
SCSS
$custom: #525596;
$custom-light: #8684b5;
$custom-dark: #000000;
JSON
{
  "hex": "#525596",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 150
  },
  "hsl": {
    "h": 237.353,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.10363,
    "h": 279.7
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#525596
secondary
#B5B38F
accent
#C162C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #525596

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

Preview Lab → · Contrast checker → · Palette generator →

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