#525299#525299

#525299 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.4% C 0.113 H 281.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#525299
RGBrgb(82, 82, 153)
HSLhsl(240, 30%, 46%)
HSVhsv(240, 46%, 60%)
CMYKcmyk(46.4%, 46.4%, 0%, 40%)
CIE-LABlab(38.07, 19.47, -38.97)
CIE-LCHlch(38.07, 43.56, 296.54°)
OKLaboklab(47.37% 0.0219 -0.1104)
OKLCHoklch(47.37% 0.113 281.2)
XYZxyz(12.2450, 10.1277, 31.4405)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525299 #999952
analogous
#527599 #525299 #755299
triadic
#525299 #995252 #529952
tetradic
#525299 #995275 #999952 #529975
square
#525299 #995275 #999952 #529975
split-complementary
#525299 #997552 #759952
monochromatic
#272749 #3D3D71 #525299 #7474B4 #9C9CCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525299#FFFFFF#000000##FFFFFF
##5252991.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)
#365C9C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#3A616E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #525299;
/* rgb */ color: rgb(82, 82, 153);
/* oklch */ color: oklch(47.4% 0.113 281.2);
Tailwind
colors: {
  custom: {
    50: '#8782b7',
    500: '#525299',
    950: '#000000',
  },
}
SCSS
$custom: #525299;
$custom-light: #8782b7;
$custom-dark: #000000;
JSON
{
  "hex": "#525299",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.11258,
    "h": 281.2
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#525299
secondary
#B7B790
accent
#C661C6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #525299

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

Preview Lab → · Contrast checker → · Palette generator →

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