#525399#525399

#525399 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.6% C 0.111 H 280.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#525399
RGBrgb(82, 83, 153)
HSLhsl(239, 30%, 46%)
HSVhsv(239, 46%, 60%)
CMYKcmyk(46.4%, 45.8%, 0%, 40%)
CIE-LABlab(38.34, 18.83, -38.54)
CIE-LCHlch(38.34, 42.89, 296.04°)
OKLaboklab(47.58% 0.0206 -0.1092)
OKLCHoklch(47.58% 0.111 280.7)
XYZxyz(12.3210, 10.2797, 31.4658)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525399 #999852
analogous
#527699 #525399 #745299
triadic
#525399 #995253 #539952
tetradic
#525399 #995276 #999852 #529974
square
#525399 #995276 #999852 #529974
split-complementary
#525399 #997452 #769952
monochromatic
#272849 #3D3D71 #525399 #7475B4 #9C9CCA

Accessibility & contrast

On white

6.87
#525399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #525399
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525399#FFFFFF#000000##FFFFFF
##5253991.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#335897
Tritanopia (blue-blind)
#3A626E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #525399;
/* rgb */ color: rgb(82, 83, 153);
/* oklch */ color: oklch(47.6% 0.111 280.7);
Tailwind
colors: {
  custom: {
    50: '#8783b7',
    500: '#525399',
    950: '#000000',
  },
}
SCSS
$custom: #525399;
$custom-light: #8783b7;
$custom-dark: #000000;
JSON
{
  "hex": "#525399",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 239.155,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47575,
    "c": 0.1111,
    "h": 280.7
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#525399
secondary
#B7B690
accent
#C561C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #525399

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

Preview Lab → · Contrast checker → · Palette generator →

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