#525CD4#525CD4

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

Color values

HEX#525CD4
RGBrgb(82, 92, 212)
HSLhsl(235, 60%, 58%)
HSVhsv(235, 61%, 83%)
CMYKcmyk(61.3%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.52, 32.45, -63.20)
CIE-LCHlch(44.52, 71.04, 297.18°)
OKLaboklab(53.45% 0.0153 -0.1816)
OKLCHoklch(53.45% 0.182 274.8)
XYZxyz(19.1866, 14.2001, 64.0044)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CD4 #D4CA52
analogous
#529DD4 #525CD4 #8952D4
triadic
#525CD4 #D4525C #5CD452
tetradic
#525CD4 #D4529D #D4CA52 #52D489
square
#525CD4 #D4529D #D4CA52 #52D489
split-complementary
#525CD4 #D48952 #9DD452
monochromatic
#222A89 #2E39BA #525CD4 #838AE0 #B4B8EC

Accessibility & contrast

On white

5.47
#525CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#525CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CD4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CD4#FFFFFF#000000##FFFFFF
##525CD41.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525cd4;
/* rgb */ color: rgb(82, 92, 212);
/* oklch */ color: oklch(53.5% 0.182 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f8ae2',
    500: '#525cd4',
    950: '#000000',
  },
}
SCSS
$custom: #525cd4;
$custom-light: #8f8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#525cd4",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 235.385,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.18221,
    "h": 274.8
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#525CD4
secondary
#DBD7A7
accent
#D744E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #525CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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