#525CC7#525CC7

#525CC7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.165 H 275.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#525CC7
RGBrgb(82, 92, 199)
HSLhsl(235, 51%, 55%)
HSVhsv(235, 59%, 78%)
CMYKcmyk(58.8%, 53.8%, 0%, 22%)
CIE-LABlab(43.61, 28.11, -57.19)
CIE-LCHlch(43.61, 63.73, 296.18°)
OKLaboklab(52.49% 0.0149 -0.1639)
OKLCHoklch(52.49% 0.165 275.2)
XYZxyz(17.6123, 13.5703, 55.7130)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CC7 #C7BD52
analogous
#5296C7 #525CC7 #8352C7
triadic
#525CC7 #C7525C #5CC752
tetradic
#525CC7 #C75296 #C7BD52 #52C783
square
#525CC7 #C75296 #C7BD52 #52C783
split-complementary
#525CC7 #C78352 #96C752
monochromatic
#272E78 #363FA6 #525CC7 #8088D6 #AEB3E5

Accessibility & contrast

On white

5.65
#525CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#525CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CC7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CC7#FFFFFF#000000##FFFFFF
##525CC71.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #525cc7;
/* rgb */ color: rgb(82, 92, 199);
/* oklch */ color: oklch(52.5% 0.165 275.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ad9',
    500: '#525cc7',
    950: '#000000',
  },
}
SCSS
$custom: #525cc7;
$custom-light: #8d8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#525cc7",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 234.872,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.16457,
    "h": 275.2
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#525CC7
secondary
#D3CFA2
accent
#CE4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #525CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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