#525BA2#525BA2

#525BA2 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.8% C 0.113 H 276.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#525BA2
RGBrgb(82, 91, 162)
HSLhsl(233, 33%, 48%)
HSVhsv(233, 49%, 64%)
CMYKcmyk(49.4%, 43.8%, 0%, 36.5%)
CIE-LABlab(41.03, 16.59, -39.64)
CIE-LCHlch(41.03, 42.97, 292.71°)
OKLaboklab(49.79% 0.0119 -0.1123)
OKLCHoklch(49.79% 0.113 276)
XYZxyz(13.7403, 11.8839, 35.7452)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BA2 #A29952
analogous
#5283A2 #525BA2 #7152A2
triadic
#525BA2 #A2525B #5BA252
tetradic
#525BA2 #A25283 #A29952 #52A271
square
#525BA2 #A25283 #A29952 #52A271
split-complementary
#525BA2 #A27152 #83A252
monochromatic
#292D51 #3D4479 #525BA2 #777FBA #A0A5CF

Accessibility & contrast

On white

6.22
#525BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#525BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BA2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BA2#FFFFFF#000000##FFFFFF
##525BA21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#375EA0
Tritanopia (blue-blind)
#336A76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #525ba2;
/* rgb */ color: rgb(82, 91, 162);
/* oklch */ color: oklch(49.8% 0.113 276.0);
Tailwind
colors: {
  custom: {
    50: '#8789be',
    500: '#525ba2',
    950: '#000000',
  },
}
SCSS
$custom: #525ba2;
$custom-light: #8789be;
$custom-dark: #000000;
JSON
{
  "hex": "#525ba2",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 233.25,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.11298,
    "h": 276
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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