#525CC2#525CC2

#525CC2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.158 H 275.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#525CC2
RGBrgb(82, 92, 194)
HSLhsl(235, 48%, 54%)
HSVhsv(235, 58%, 76%)
CMYKcmyk(57.7%, 52.6%, 0%, 23.9%)
CIE-LABlab(43.27, 26.45, -54.84)
CIE-LCHlch(43.27, 60.88, 295.75°)
OKLaboklab(52.13% 0.0146 -0.157)
OKLCHoklch(52.13% 0.158 275.3)
XYZxyz(17.0413, 13.3419, 52.7057)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CC2 #C2B852
analogous
#5294C2 #525CC2 #8052C2
triadic
#525CC2 #C2525C #5CC252
tetradic
#525CC2 #C25294 #C2B852 #52C280
square
#525CC2 #C25294 #C2B852 #52C280
split-complementary
#525CC2 #C28052 #94C252
monochromatic
#282F72 #38419F #525CC2 #7F87D2 #ACB1E2

Accessibility & contrast

On white

5.72
#525CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#525CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CC2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CC2#FFFFFF#000000##FFFFFF
##525CC21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#047386
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #525cc2;
/* rgb */ color: rgb(82, 92, 194);
/* oklch */ color: oklch(52.1% 0.158 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ad5',
    500: '#525cc2',
    950: '#000000',
  },
}
SCSS
$custom: #525cc2;
$custom-light: #8c8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#525cc2",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 234.643,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.15765,
    "h": 275.3
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#525CC2
secondary
#D0CBA0
accent
#CB50D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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