#525CD8#525CD8

#525CD8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.188 H 274.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#525CD8
RGBrgb(82, 92, 216)
HSLhsl(236, 63%, 58%)
HSVhsv(236, 62%, 85%)
CMYKcmyk(62%, 57.4%, 0%, 15.3%)
CIE-LABlab(44.81, 33.79, -65.01)
CIE-LCHlch(44.81, 73.27, 297.46°)
OKLaboklab(53.76% 0.0153 -0.1869)
OKLCHoklch(53.76% 0.188 274.7)
XYZxyz(19.6974, 14.4044, 66.6947)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CD8 #D8CE52
analogous
#529FD8 #525CD8 #8B52D8
triadic
#525CD8 #D8525C #5CD852
tetradic
#525CD8 #D8529F #D8CE52 #52D88B
square
#525CD8 #D8529F #D8CE52 #52D88B
split-complementary
#525CD8 #D88B52 #9FD852
monochromatic
#20298F #2C37C1 #525CD8 #848BE3 #B6BAEF

Accessibility & contrast

On white

5.41
#525CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#525CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CD8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CD8#FFFFFF#000000##FFFFFF
##525CD81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525cd8;
/* rgb */ color: rgb(82, 92, 216);
/* oklch */ color: oklch(53.8% 0.188 274.7);
Tailwind
colors: {
  custom: {
    50: '#908ae5',
    500: '#525cd8',
    950: '#000000',
  },
}
SCSS
$custom: #525cd8;
$custom-light: #908ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#525cd8",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 235.522,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.18754,
    "h": 274.7
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#525CD8
secondary
#DDDAA8
accent
#DA42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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