#525AE2#525AE2

#525AE2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.2% C 0.203 H 274.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#525AE2
RGBrgb(82, 90, 226)
HSLhsl(237, 71%, 60%)
HSVhsv(237, 64%, 89%)
CMYKcmyk(63.7%, 60.2%, 0%, 11.4%)
CIE-LABlab(45.08, 38.34, -70.27)
CIE-LCHlch(45.08, 80.04, 298.62°)
OKLaboklab(54.19% 0.0169 -0.2024)
OKLCHoklch(54.19% 0.203 274.8)
XYZxyz(20.8588, 14.5954, 73.6547)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525AE2 #E2DA52
analogous
#52A2E2 #525AE2 #9252E2
triadic
#525AE2 #E2525A #5AE252
tetradic
#525AE2 #E252A2 #E2DA52 #52E292
square
#525AE2 #E252A2 #E2DA52 #52E292
split-complementary
#525AE2 #E29252 #A2E252
monochromatic
#1B229F #232DD3 #525AE2 #868CEB #BBBEF4

Accessibility & contrast

On white

5.36
#525AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#525AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525AE2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525AE2#FFFFFF#000000##FFFFFF
##525AE21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525ae2;
/* rgb */ color: rgb(82, 90, 226);
/* oklch */ color: oklch(54.2% 0.203 274.8);
Tailwind
colors: {
  custom: {
    50: '#9288ec',
    500: '#525ae2',
    950: '#000000',
  },
}
SCSS
$custom: #525ae2;
$custom-light: #9288ec;
$custom-dark: #000000;
JSON
{
  "hex": "#525ae2",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 236.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.20308,
    "h": 274.8
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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