#525196#525196

#525196 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 47.0% C 0.110 H 282.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#525196
RGBrgb(82, 81, 150)
HSLhsl(241, 30%, 45%)
HSVhsv(241, 46%, 59%)
CMYKcmyk(45.3%, 46%, 0%, 41.2%)
CIE-LABlab(37.63, 19.16, -37.87)
CIE-LCHlch(37.63, 42.44, 296.84°)
OKLaboklab(46.98% 0.0228 -0.1072)
OKLCHoklch(46.98% 0.11 282)
XYZxyz(11.9255, 9.8802, 30.1269)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525196 #959651
analogous
#517296 #525196 #755196
triadic
#525196 #965251 #519652
tetradic
#525196 #965172 #959651 #519675
square
#525196 #965172 #959651 #519675
split-complementary
#525196 #967551 #729651
monochromatic
#272647 #3C3C6E #525196 #7372B3 #9A99C8

Accessibility & contrast

On white

7.06
#525196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#525196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525196
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525196#FFFFFF#000000##FFFFFF
##5251961.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B99
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#3C5F6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #525196;
/* rgb */ color: rgb(82, 81, 150);
/* oklch */ color: oklch(47.0% 0.110 282.0);
Tailwind
colors: {
  custom: {
    50: '#8681b5',
    500: '#525196',
    950: '#000000',
  },
}
SCSS
$custom: #525196;
$custom-light: #8681b5;
$custom-dark: #000000;
JSON
{
  "hex": "#525196",
  "rgb": {
    "r": 82,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 240.87,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46977,
    "c": 0.1096,
    "h": 282
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#525196
secondary
#B4B58E
accent
#C662C5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #525196

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

Preview Lab → · Contrast checker → · Palette generator →

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