#525DEA#525DEA

#525DEA is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.4% C 0.210 H 273.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#525DEA
RGBrgb(82, 93, 234)
HSLhsl(236, 78%, 62%)
HSVhsv(236, 65%, 92%)
CMYKcmyk(65%, 60.3%, 0%, 8.2%)
CIE-LABlab(46.39, 39.17, -72.64)
CIE-LCHlch(46.39, 82.53, 298.34°)
OKLaboklab(55.36% 0.0143 -0.2093)
OKLCHoklch(55.36% 0.21 273.9)
XYZxyz(22.2404, 15.5611, 79.6575)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DEA #EADF52
analogous
#52A9EA #525DEA #9352EA
triadic
#525DEA #EA525D #5DEA52
tetradic
#525DEA #EA52A9 #EADF52 #52EA93
square
#525DEA #EA52A9 #EADF52 #52EA93
split-complementary
#525DEA #EA9352 #A9EA52
monochromatic
#1520AD #1C2AE3 #525DEA #8990F1 #BFC3F7

Accessibility & contrast

On white

5.11
#525DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#525DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DEA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DEA#FFFFFF#000000##FFFFFF
##525DEA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #525dea;
/* rgb */ color: rgb(82, 93, 234);
/* oklch */ color: oklch(55.4% 0.210 273.9);
Tailwind
colors: {
  custom: {
    50: '#938bf2',
    500: '#525dea',
    950: '#000000',
  },
}
SCSS
$custom: #525dea;
$custom-light: #938bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#525dea",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 235.658,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.20979,
    "h": 273.9
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#525DEA
secondary
#E8E4B0
accent
#CC0BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #525DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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