#525AEB#525AEB

#525AEB is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.215 H 274.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#525AEB
RGBrgb(82, 90, 235)
HSLhsl(237, 79%, 62%)
HSVhsv(237, 65%, 92%)
CMYKcmyk(65.1%, 61.7%, 0%, 7.8%)
CIE-LABlab(45.77, 41.31, -74.21)
CIE-LCHlch(45.77, 84.94, 299.10°)
OKLaboklab(54.92% 0.0166 -0.2139)
OKLCHoklch(54.92% 0.215 274.4)
XYZxyz(22.1263, 15.1024, 80.3302)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525AEB #EBE352
analogous
#52A6EB #525AEB #9752EB
triadic
#525AEB #EB525A #5AEB52
tetradic
#525AEB #EB52A6 #EBE352 #52EB97
square
#525AEB #EB52A6 #EBE352 #52EB97
split-complementary
#525AEB #EB9752 #A6EB52
monochromatic
#141CAE #1B26E5 #525AEB #898EF1 #C0C3F8

Accessibility & contrast

On white

5.22
#525AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#525AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525AEB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525AEB#FFFFFF#000000##FFFFFF
##525AEB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #525aeb;
/* rgb */ color: rgb(82, 90, 235);
/* oklch */ color: oklch(54.9% 0.215 274.4);
Tailwind
colors: {
  custom: {
    50: '#9389f2',
    500: '#525aeb',
    950: '#000000',
  },
}
SCSS
$custom: #525aeb;
$custom-light: #9389f2;
$custom-dark: #000000;
JSON
{
  "hex": "#525aeb",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 236.863,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.21459,
    "h": 274.4
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#525AEB
secondary
#E8E6B0
accent
#D10ADC
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #525AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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