#525ED7#525ED7

#525ED7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.184 H 274.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#525ED7
RGBrgb(82, 94, 215)
HSLhsl(235, 62%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(61.9%, 56.3%, 0%, 15.7%)
CIE-LABlab(45.23, 32.22, -63.76)
CIE-LCHlch(45.23, 71.44, 296.81°)
OKLaboklab(54.05% 0.0135 -0.1832)
OKLCHoklch(54.05% 0.184 274.2)
XYZxyz(19.7441, 14.7039, 66.0745)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ED7 #D7CB52
analogous
#52A1D7 #525ED7 #8852D7
triadic
#525ED7 #D7525E #5ED752
tetradic
#525ED7 #D752A1 #D7CB52 #52D788
square
#525ED7 #D752A1 #D7CB52 #52D788
split-complementary
#525ED7 #D78852 #A1D752
monochromatic
#212B8E #2C3AC0 #525ED7 #848CE2 #B5BBEE

Accessibility & contrast

On white

5.33
#525ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#525ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ED7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ED7#FFFFFF#000000##FFFFFF
##525ED71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525ed7;
/* rgb */ color: rgb(82, 94, 215);
/* oklch */ color: oklch(54.0% 0.184 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f8be4',
    500: '#525ed7',
    950: '#000000',
  },
}
SCSS
$custom: #525ed7;
$custom-light: #8f8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#525ed7",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 234.586,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.18372,
    "h": 274.2
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#525ED7
secondary
#DDD8A8
accent
#D742E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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