#525BD2#525BD2

#525BD2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.181 H 275.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#525BD2
RGBrgb(82, 91, 210)
HSLhsl(236, 59%, 57%)
HSVhsv(236, 61%, 82%)
CMYKcmyk(61%, 56.7%, 0%, 17.6%)
CIE-LABlab(44.13, 32.40, -62.68)
CIE-LCHlch(44.13, 70.56, 297.34°)
OKLaboklab(53.12% 0.0162 -0.1801)
OKLCHoklch(53.12% 0.181 275.1)
XYZxyz(18.8498, 13.9277, 62.6552)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BD2 #D2C952
analogous
#529BD2 #525BD2 #8952D2
triadic
#525BD2 #D2525B #5BD252
tetradic
#525BD2 #D2529B #D2C952 #52D289
square
#525BD2 #D2529B #D2C952 #52D289
split-complementary
#525BD2 #D28952 #9BD252
monochromatic
#232A87 #3039B7 #525BD2 #8389DF #B3B7EB

Accessibility & contrast

On white

5.55
#525BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#525BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BD2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BD2#FFFFFF#000000##FFFFFF
##525BD21.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #525bd2;
/* rgb */ color: rgb(82, 91, 210);
/* oklch */ color: oklch(53.1% 0.181 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f89e1',
    500: '#525bd2',
    950: '#000000',
  },
}
SCSS
$custom: #525bd2;
$custom-light: #8f89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#525bd2",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 235.781,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.1808,
    "h": 275.1
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#525BD2
secondary
#DAD6A6
accent
#D746E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #525BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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