#525199#525199

#525199 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.2% C 0.114 H 281.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#525199
RGBrgb(82, 81, 153)
HSLhsl(241, 31%, 46%)
HSVhsv(241, 47%, 60%)
CMYKcmyk(46.4%, 47.1%, 0%, 40%)
CIE-LABlab(37.80, 20.10, -39.39)
CIE-LCHlch(37.80, 44.23, 297.04°)
OKLaboklab(47.17% 0.0232 -0.1117)
OKLCHoklch(47.17% 0.114 281.7)
XYZxyz(12.1702, 9.9780, 31.4155)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525199 #989951
analogous
#517499 #525199 #765199
triadic
#525199 #995251 #519952
tetradic
#525199 #995174 #989951 #519976
square
#525199 #995174 #989951 #519976
split-complementary
#525199 #997651 #749951
monochromatic
#272749 #3D3C71 #525199 #7373B5 #9B9BCA

Accessibility & contrast

On white

7.01
#525199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#525199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525199
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525199#FFFFFF#000000##FFFFFF
##5251991.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#305697
Tritanopia (blue-blind)
#3A606D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #525199;
/* rgb */ color: rgb(82, 81, 153);
/* oklch */ color: oklch(47.2% 0.114 281.7);
Tailwind
colors: {
  custom: {
    50: '#8781b7',
    500: '#525199',
    950: '#000000',
  },
}
SCSS
$custom: #525199;
$custom-light: #8781b7;
$custom-dark: #000000;
JSON
{
  "hex": "#525199",
  "rgb": {
    "r": 82,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 240.833,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.11407,
    "h": 281.7
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#525199
secondary
#B6B78F
accent
#C761C6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #525199

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

Preview Lab → · Contrast checker → · Palette generator →

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