#525DDD#525DDD

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

Color values

HEX#525DDD
RGBrgb(82, 93, 221)
HSLhsl(235, 67%, 59%)
HSVhsv(235, 63%, 87%)
CMYKcmyk(62.9%, 57.9%, 0%, 13.3%)
CIE-LABlab(45.42, 34.84, -66.87)
CIE-LCHlch(45.42, 75.40, 297.52°)
OKLaboklab(54.33% 0.0145 -0.1924)
OKLCHoklch(54.33% 0.193 274.3)
XYZxyz(20.4409, 14.8413, 70.1801)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DDD #DDD252
analogous
#52A3DD #525DDD #8D52DD
triadic
#525DDD #DD525D #5DDD52
tetradic
#525DDD #DD52A3 #DDD252 #52DD8D
square
#525DDD #DD52A3 #DDD252 #52DD8D
split-complementary
#525DDD #DD8D52 #A3DD52
monochromatic
#1E2797 #2835CA #525DDD #858DE7 #B8BDF1

Accessibility & contrast

On white

5.29
#525DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#525DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DDD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DDD#FFFFFF#000000##FFFFFF
##525DDD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525ddd;
/* rgb */ color: rgb(82, 93, 221);
/* oklch */ color: oklch(54.3% 0.193 274.3);
Tailwind
colors: {
  custom: {
    50: '#918be8',
    500: '#525ddd',
    950: '#000000',
  },
}
SCSS
$custom: #525ddd;
$custom-light: #918be8;
$custom-dark: #000000;
JSON
{
  "hex": "#525ddd",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 235.252,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54326,
    "c": 0.19291,
    "h": 274.3
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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