#525BD7#525BD7

#525BD7 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.187 H 275.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#525BD7
RGBrgb(82, 91, 215)
HSLhsl(236, 62%, 58%)
HSVhsv(236, 62%, 84%)
CMYKcmyk(61.9%, 57.7%, 0%, 15.7%)
CIE-LABlab(44.49, 34.07, -64.96)
CIE-LCHlch(44.49, 73.35, 297.68°)
OKLaboklab(53.5% 0.0162 -0.1867)
OKLCHoklch(53.5% 0.187 275)
XYZxyz(19.4825, 14.1807, 65.9873)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BD7 #D7CE52
analogous
#529DD7 #525BD7 #8B52D7
triadic
#525BD7 #D7525B #5BD752
tetradic
#525BD7 #D7529D #D7CE52 #52D78B
square
#525BD7 #D7529D #D7CE52 #52D78B
split-complementary
#525BD7 #D78B52 #9DD752
monochromatic
#21288E #2C36C0 #525BD7 #848AE2 #B5B9EE

Accessibility & contrast

On white

5.47
#525BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#525BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BD7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BD7#FFFFFF#000000##FFFFFF
##525BD71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525bd7;
/* rgb */ color: rgb(82, 91, 215);
/* oklch */ color: oklch(53.5% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#9089e4',
    500: '#525bd7',
    950: '#000000',
  },
}
SCSS
$custom: #525bd7;
$custom-light: #9089e4;
$custom-dark: #000000;
JSON
{
  "hex": "#525bd7",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 235.94,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53501,
    "c": 0.18745,
    "h": 275
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#525BD7
secondary
#DDD9A8
accent
#DA42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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