#525CD9#525CD9

#525CD9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.189 H 274.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#525CD9
RGBrgb(82, 92, 217)
HSLhsl(236, 64%, 59%)
HSVhsv(236, 62%, 85%)
CMYKcmyk(62.2%, 57.6%, 0%, 14.9%)
CIE-LABlab(44.88, 34.12, -65.46)
CIE-LCHlch(44.88, 73.82, 297.53°)
OKLaboklab(53.84% 0.0153 -0.1882)
OKLCHoklch(53.84% 0.189 274.7)
XYZxyz(19.8271, 14.4563, 67.3777)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CD9 #D9CF52
analogous
#529FD9 #525CD9 #8B52D9
triadic
#525CD9 #D9525C #5CD952
tetradic
#525CD9 #D9529F #D9CF52 #52D98B
square
#525CD9 #D9529F #D9CF52 #52D98B
split-complementary
#525CD9 #D98B52 #9FD952
monochromatic
#202891 #2B36C3 #525CD9 #848BE4 #B6BBEF

Accessibility & contrast

On white

5.40
#525CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#525CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CD9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CD9#FFFFFF#000000##FFFFFF
##525CD91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525cd9;
/* rgb */ color: rgb(82, 92, 217);
/* oklch */ color: oklch(53.8% 0.189 274.7);
Tailwind
colors: {
  custom: {
    50: '#908ae6',
    500: '#525cd9',
    950: '#000000',
  },
}
SCSS
$custom: #525cd9;
$custom-light: #908ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#525cd9",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 235.556,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.18886,
    "h": 274.7
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#525CD9
secondary
#DEDAA9
accent
#DB41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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