#525CD2#525CD2

#525CD2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.180 H 274.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#525CD2
RGBrgb(82, 92, 210)
HSLhsl(235, 59%, 57%)
HSVhsv(235, 61%, 82%)
CMYKcmyk(61%, 56.2%, 0%, 17.6%)
CIE-LABlab(44.38, 31.78, -62.28)
CIE-LCHlch(44.38, 69.92, 297.04°)
OKLaboklab(53.3% 0.0153 -0.1789)
OKLCHoklch(53.3% 0.18 274.9)
XYZxyz(18.9359, 14.0998, 62.6839)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CD2 #D2C852
analogous
#529CD2 #525CD2 #8852D2
triadic
#525CD2 #D2525C #5CD252
tetradic
#525CD2 #D2529C #D2C852 #52D288
square
#525CD2 #D2529C #D2C852 #52D288
split-complementary
#525CD2 #D28852 #9CD252
monochromatic
#232B87 #303AB7 #525CD2 #838ADF #B3B8EB

Accessibility & contrast

On white

5.50
#525CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#525CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CD2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CD2#FFFFFF#000000##FFFFFF
##525CD21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525cd2;
/* rgb */ color: rgb(82, 92, 210);
/* oklch */ color: oklch(53.3% 0.180 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f8ae1',
    500: '#525cd2',
    950: '#000000',
  },
}
SCSS
$custom: #525cd2;
$custom-light: #8f8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#525cd2",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 235.313,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.17953,
    "h": 274.9
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#525CD2
secondary
#DAD6A6
accent
#D646E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #525CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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