#525DD7#525DD7

#525DD7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.185 H 274.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#525DD7
RGBrgb(82, 93, 215)
HSLhsl(235, 62%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(61.9%, 56.7%, 0%, 15.7%)
CIE-LABlab(44.98, 32.84, -64.16)
CIE-LCHlch(44.98, 72.08, 297.10°)
OKLaboklab(53.86% 0.0144 -0.1844)
OKLCHoklch(53.86% 0.185 274.5)
XYZxyz(19.6557, 14.5272, 66.0450)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DD7 #D7CC52
analogous
#529FD7 #525DD7 #8A52D7
triadic
#525DD7 #D7525D #5DD752
tetradic
#525DD7 #D7529F #D7CC52 #52D78A
square
#525DD7 #D7529F #D7CC52 #52D78A
split-complementary
#525DD7 #D78A52 #9FD752
monochromatic
#212A8E #2C38C0 #525DD7 #848CE2 #B5BAEE

Accessibility & contrast

On white

5.38
#525DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#525DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DD7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DD7#FFFFFF#000000##FFFFFF
##525DD71.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525dd7;
/* rgb */ color: rgb(82, 93, 215);
/* oklch */ color: oklch(53.9% 0.185 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f8ae4',
    500: '#525dd7',
    950: '#000000',
  },
}
SCSS
$custom: #525dd7;
$custom-light: #8f8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#525dd7",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 235.038,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.18496,
    "h": 274.5
  },
  "luminance": 0.14529
}

Semantic roles & 50–950 ramp

primary
#525DD7
secondary
#DDD9A8
accent
#D842E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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