#525EE2#525EE2

#525EE2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.9% C 0.198 H 273.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#525EE2
RGBrgb(82, 94, 226)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 89%)
CMYKcmyk(63.7%, 58.4%, 0%, 11.4%)
CIE-LABlab(46.03, 35.90, -68.72)
CIE-LCHlch(46.03, 77.53, 297.58°)
OKLaboklab(54.9% 0.0136 -0.1978)
OKLCHoklch(54.9% 0.198 273.9)
XYZxyz(21.2053, 15.2884, 73.7702)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EE2 #E2D652
analogous
#52A6E2 #525EE2 #8E52E2
triadic
#525EE2 #E2525E #5EE252
tetradic
#525EE2 #E252A6 #E2D652 #52E28E
square
#525EE2 #E252A6 #E2D652 #52E28E
split-complementary
#525EE2 #E28E52 #A6E252
monochromatic
#1B269F #2332D3 #525EE2 #868FEB #BBC0F4

Accessibility & contrast

On white

5.17
#525EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#525EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EE2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EE2#FFFFFF#000000##FFFFFF
##525EE21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #525ee2;
/* rgb */ color: rgb(82, 94, 226);
/* oklch */ color: oklch(54.9% 0.198 273.9);
Tailwind
colors: {
  custom: {
    50: '#918bec',
    500: '#525ee2',
    950: '#000000',
  },
}
SCSS
$custom: #525ee2;
$custom-light: #918bec;
$custom-dark: #000000;
JSON
{
  "hex": "#525ee2",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 235,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.19825,
    "h": 273.9
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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