#525DCD#525DCD

#525DCD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.171 H 274.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#525DCD
RGBrgb(82, 93, 205)
HSLhsl(235, 55%, 56%)
HSVhsv(235, 60%, 80%)
CMYKcmyk(60%, 54.6%, 0%, 19.6%)
CIE-LABlab(44.27, 29.49, -59.58)
CIE-LCHlch(44.27, 66.48, 296.34°)
OKLaboklab(53.11% 0.0141 -0.1709)
OKLCHoklch(53.11% 0.171 274.7)
XYZxyz(18.4099, 14.0289, 59.4835)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DCD #CDC252
analogous
#529BCD #525DCD #8552CD
triadic
#525DCD #CD525D #5DCD52
tetradic
#525DCD #CD529B #CDC252 #52CD85
square
#525DCD #CD529B #CDC252 #52CD85
split-complementary
#525DCD #CD8552 #9BCD52
monochromatic
#252D80 #333EAF #525DCD #8189DB #B1B6E8

Accessibility & contrast

On white

5.52
#525DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#525DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DCD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DCD#FFFFFF#000000##FFFFFF
##525DCD1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6ED1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525dcd;
/* rgb */ color: rgb(82, 93, 205);
/* oklch */ color: oklch(53.1% 0.171 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e8add',
    500: '#525dcd',
    950: '#000000',
  },
}
SCSS
$custom: #525dcd;
$custom-light: #8e8add;
$custom-dark: #000000;
JSON
{
  "hex": "#525dcd",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 234.634,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.17149,
    "h": 274.7
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#525DCD
secondary
#D7D2A4
accent
#D149DE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #525DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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