#525DDC#525DDC

#525DDC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.192 H 274.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#525DDC
RGBrgb(82, 93, 220)
HSLhsl(235, 66%, 59%)
HSVhsv(235, 63%, 86%)
CMYKcmyk(62.7%, 57.7%, 0%, 13.7%)
CIE-LABlab(45.34, 34.51, -66.42)
CIE-LCHlch(45.34, 74.85, 297.45°)
OKLaboklab(54.25% 0.0145 -0.191)
OKLCHoklch(54.25% 0.192 274.3)
XYZxyz(20.3080, 14.7881, 69.4805)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DDC #DCD152
analogous
#52A2DC #525DDC #8C52DC
triadic
#525DDC #DC525D #5DDC52
tetradic
#525DDC #DC52A2 #DCD152 #52DC8C
square
#525DDC #DC52A2 #DCD152 #52DC8C
split-complementary
#525DDC #DC8C52 #A2DC52
monochromatic
#1E2895 #2935C8 #525DDC #858DE6 #B8BCF1

Accessibility & contrast

On white

5.31
#525DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#525DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DDC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DDC#FFFFFF#000000##FFFFFF
##525DDC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525ddc;
/* rgb */ color: rgb(82, 93, 220);
/* oklch */ color: oklch(54.2% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#908be8',
    500: '#525ddc',
    950: '#000000',
  },
}
SCSS
$custom: #525ddc;
$custom-light: #908be8;
$custom-dark: #000000;
JSON
{
  "hex": "#525ddc",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 235.217,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.1916,
    "h": 274.3
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#525DDC
secondary
#E0DCAA
accent
#DC3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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