#525CA2#525CA2

#525CA2 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.0% C 0.112 H 275.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#525CA2
RGBrgb(82, 92, 162)
HSLhsl(233, 33%, 48%)
HSVhsv(233, 49%, 64%)
CMYKcmyk(49.4%, 43.2%, 0%, 36.5%)
CIE-LABlab(41.30, 15.96, -39.20)
CIE-LCHlch(41.30, 42.33, 292.15°)
OKLaboklab(50% 0.0107 -0.1111)
OKLCHoklch(50% 0.112 275.5)
XYZxyz(13.8264, 12.0560, 35.7739)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CA2 #A29852
analogous
#5284A2 #525CA2 #7052A2
triadic
#525CA2 #A2525C #5CA252
tetradic
#525CA2 #A25284 #A29852 #52A270
square
#525CA2 #A25284 #A29852 #52A270
split-complementary
#525CA2 #A27052 #84A252
monochromatic
#292E51 #3D4579 #525CA2 #777FBA #A0A6CF

Accessibility & contrast

On white

6.16
#525CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#525CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CA2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CA2#FFFFFF#000000##FFFFFF
##525CA21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#336B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #525ca2;
/* rgb */ color: rgb(82, 92, 162);
/* oklch */ color: oklch(50.0% 0.112 275.5);
Tailwind
colors: {
  custom: {
    50: '#878abe',
    500: '#525ca2',
    950: '#000000',
  },
}
SCSS
$custom: #525ca2;
$custom-light: #878abe;
$custom-dark: #000000;
JSON
{
  "hex": "#525ca2",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 232.5,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5,
    "c": 0.11157,
    "h": 275.5
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#525CA2
secondary
#BCB794
accent
#BC5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #525CA2

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

Preview Lab → · Contrast checker → · Palette generator →

#525CA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva