#525DD2#525DD2

#525DD2 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.178 H 274.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#525DD2
RGBrgb(82, 93, 210)
HSLhsl(235, 59%, 57%)
HSVhsv(235, 61%, 82%)
CMYKcmyk(61%, 55.7%, 0%, 17.6%)
CIE-LABlab(44.62, 31.16, -61.88)
CIE-LCHlch(44.62, 69.28, 296.73°)
OKLaboklab(53.49% 0.0143 -0.1777)
OKLCHoklch(53.49% 0.178 274.6)
XYZxyz(19.0231, 14.2742, 62.7130)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DD2 #D2C752
analogous
#529DD2 #525DD2 #8752D2
triadic
#525DD2 #D2525D #5DD252
tetradic
#525DD2 #D2529D #D2C752 #52D287
square
#525DD2 #D2529D #D2C752 #52D287
split-complementary
#525DD2 #D28752 #9DD252
monochromatic
#232C87 #303BB7 #525DD2 #838ADF #B3B8EB

Accessibility & contrast

On white

5.45
#525DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#525DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DD2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DD2#FFFFFF#000000##FFFFFF
##525DD21.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525dd2;
/* rgb */ color: rgb(82, 93, 210);
/* oklch */ color: oklch(53.5% 0.178 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ae1',
    500: '#525dd2',
    950: '#000000',
  },
}
SCSS
$custom: #525dd2;
$custom-light: #8f8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#525dd2",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 234.844,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.17827,
    "h": 274.6
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#525DD2
secondary
#DAD5A6
accent
#D546E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #525DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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