#525DE2#525DE2

#525DE2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.199 H 274.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#525DE2
RGBrgb(82, 93, 226)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 89%)
CMYKcmyk(63.7%, 58.8%, 0%, 11.4%)
CIE-LABlab(45.79, 36.51, -69.11)
CIE-LCHlch(45.79, 78.16, 297.85°)
OKLaboklab(54.72% 0.0144 -0.1989)
OKLCHoklch(54.72% 0.199 274.1)
XYZxyz(21.1170, 15.1117, 73.7408)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DE2 #E2D752
analogous
#52A5E2 #525DE2 #8F52E2
triadic
#525DE2 #E2525D #5DE252
tetradic
#525DE2 #E252A5 #E2D752 #52E28F
square
#525DE2 #E252A5 #E2D752 #52E28F
split-complementary
#525DE2 #E28F52 #A5E252
monochromatic
#1B259F #2331D3 #525DE2 #868EEB #BBBFF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525DE2#FFFFFF#000000##FFFFFF
##525DE21.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)
#0073E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #525de2;
/* rgb */ color: rgb(82, 93, 226);
/* oklch */ color: oklch(54.7% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#918bec',
    500: '#525de2',
    950: '#000000',
  },
}
SCSS
$custom: #525de2;
$custom-light: #918bec;
$custom-dark: #000000;
JSON
{
  "hex": "#525de2",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 235.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.19946,
    "h": 274.1
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#525DE2
secondary
#E3DFAC
accent
#C512D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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