#525CE6#525CE6

#525CE6 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.9% C 0.206 H 274.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#525CE6
RGBrgb(82, 92, 230)
HSLhsl(236, 75%, 61%)
HSVhsv(236, 64%, 90%)
CMYKcmyk(64.3%, 60%, 0%, 9.8%)
CIE-LABlab(45.85, 38.45, -71.26)
CIE-LCHlch(45.85, 80.97, 298.35°)
OKLaboklab(54.86% 0.0152 -0.2053)
OKLCHoklch(54.86% 0.206 274.2)
XYZxyz(21.5850, 15.1594, 76.6361)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CE6 #E6DC52
analogous
#52A6E6 #525CE6 #9252E6
triadic
#525CE6 #E6525C #5CE652
tetradic
#525CE6 #E652A6 #E6DC52 #52E692
square
#525CE6 #E652A6 #E6DC52 #52E692
split-complementary
#525CE6 #E69252 #A6E652
monochromatic
#1822A6 #202CDB #525CE6 #878EEE #BDC1F5

Accessibility & contrast

On white

5.21
#525CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#525CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CE6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CE6#FFFFFF#000000##FFFFFF
##525CE61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #525ce6;
/* rgb */ color: rgb(82, 92, 230);
/* oklch */ color: oklch(54.9% 0.206 274.2);
Tailwind
colors: {
  custom: {
    50: '#928aef',
    500: '#525ce6',
    950: '#000000',
  },
}
SCSS
$custom: #525ce6;
$custom-light: #928aef;
$custom-dark: #000000;
JSON
{
  "hex": "#525ce6",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 235.946,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.20584,
    "h": 274.2
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#525CE6
secondary
#E6E2AE
accent
#C90FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #525CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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