#525DD9#525DD9

#525DD9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.188 H 274.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#525DD9
RGBrgb(82, 93, 217)
HSLhsl(235, 64%, 59%)
HSVhsv(235, 62%, 85%)
CMYKcmyk(62.2%, 57.1%, 0%, 14.9%)
CIE-LABlab(45.12, 33.50, -65.07)
CIE-LCHlch(45.12, 73.19, 297.24°)
OKLaboklab(54.02% 0.0144 -0.1871)
OKLCHoklch(54.02% 0.188 274.4)
XYZxyz(19.9143, 14.6307, 67.4067)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DD9 #D9CE52
analogous
#52A0D9 #525DD9 #8A52D9
triadic
#525DD9 #D9525D #5DD952
tetradic
#525DD9 #D952A0 #D9CE52 #52D98A
square
#525DD9 #D952A0 #D9CE52 #52D98A
split-complementary
#525DD9 #D98A52 #A0D952
monochromatic
#202991 #2B37C3 #525DD9 #848CE4 #B6BBEF

Accessibility & contrast

On white

5.35
#525DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#525DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DD9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DD9#FFFFFF#000000##FFFFFF
##525DD91.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525dd9;
/* rgb */ color: rgb(82, 93, 217);
/* oklch */ color: oklch(54.0% 0.188 274.4);
Tailwind
colors: {
  custom: {
    50: '#908ae6',
    500: '#525dd9',
    950: '#000000',
  },
}
SCSS
$custom: #525dd9;
$custom-light: #908ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#525dd9",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 235.111,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.18763,
    "h": 274.4
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#525DD9
secondary
#DEDAA9
accent
#D941E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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