#525AE1#525AE1

#525AE1 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.1% C 0.202 H 274.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#525AE1
RGBrgb(82, 90, 225)
HSLhsl(237, 70%, 60%)
HSVhsv(237, 64%, 88%)
CMYKcmyk(63.6%, 60%, 0%, 11.8%)
CIE-LABlab(45.00, 38.01, -69.82)
CIE-LCHlch(45.00, 79.50, 298.56°)
OKLaboklab(54.11% 0.017 -0.2011)
OKLCHoklch(54.11% 0.202 274.8)
XYZxyz(20.7220, 14.5407, 72.9342)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525AE1 #E1D952
analogous
#52A2E1 #525AE1 #9152E1
triadic
#525AE1 #E1525A #5AE152
tetradic
#525AE1 #E152A2 #E1D952 #52E191
square
#525AE1 #E152A2 #E1D952 #52E191
split-complementary
#525AE1 #E19152 #A2E152
monochromatic
#1B239D #242ED1 #525AE1 #868CEA #BABDF3

Accessibility & contrast

On white

5.37
#525AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#525AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525AE1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525AE1#FFFFFF#000000##FFFFFF
##525AE11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525ae1;
/* rgb */ color: rgb(82, 90, 225);
/* oklch */ color: oklch(54.1% 0.202 274.8);
Tailwind
colors: {
  custom: {
    50: '#9188eb',
    500: '#525ae1',
    950: '#000000',
  },
}
SCSS
$custom: #525ae1;
$custom-light: #9188eb;
$custom-dark: #000000;
JSON
{
  "hex": "#525ae1",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 236.643,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.20178,
    "h": 274.8
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#525AE1
secondary
#E3E0AC
accent
#C813D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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