#525CD3#525CD3

#525CD3 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.181 H 274.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#525CD3
RGBrgb(82, 92, 211)
HSLhsl(235, 59%, 57%)
HSVhsv(235, 61%, 83%)
CMYKcmyk(61.1%, 56.4%, 0%, 17.3%)
CIE-LABlab(44.45, 32.12, -62.74)
CIE-LCHlch(44.45, 70.48, 297.11°)
OKLaboklab(53.38% 0.0153 -0.1802)
OKLCHoklch(53.38% 0.181 274.8)
XYZxyz(19.0608, 14.1498, 63.3421)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CD3 #D3C952
analogous
#529CD3 #525CD3 #8952D3
triadic
#525CD3 #D3525C #5CD352
tetradic
#525CD3 #D3529C #D3C952 #52D389
square
#525CD3 #D3529C #D3C952 #52D389
split-complementary
#525CD3 #D38952 #9CD352
monochromatic
#232A88 #2F3AB9 #525CD3 #838ADF #B4B8EC

Accessibility & contrast

On white

5.48
#525CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#525CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CD3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CD3#FFFFFF#000000##FFFFFF
##525CD31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #525cd3;
/* rgb */ color: rgb(82, 92, 211);
/* oklch */ color: oklch(53.4% 0.181 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f8ae1',
    500: '#525cd3',
    950: '#000000',
  },
}
SCSS
$custom: #525cd3;
$custom-light: #8f8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#525cd3",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 235.349,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.18087,
    "h": 274.8
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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