#525BC7#525BC7

#525BC7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.166 H 275.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#525BC7
RGBrgb(82, 91, 199)
HSLhsl(235, 51%, 55%)
HSVhsv(235, 59%, 78%)
CMYKcmyk(58.8%, 54.3%, 0%, 22%)
CIE-LABlab(43.36, 28.74, -57.60)
CIE-LCHlch(43.36, 64.37, 296.52°)
OKLaboklab(52.3% 0.0159 -0.1651)
OKLCHoklch(52.3% 0.166 275.5)
XYZxyz(17.5262, 13.3982, 55.6843)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BC7 #C7BE52
analogous
#5295C7 #525BC7 #8452C7
triadic
#525BC7 #C7525B #5BC752
tetradic
#525BC7 #C75295 #C7BE52 #52C784
square
#525BC7 #C75295 #C7BE52 #52C784
split-complementary
#525BC7 #C78452 #95C752
monochromatic
#272D78 #363EA6 #525BC7 #8087D6 #AEB3E5

Accessibility & contrast

On white

5.71
#525BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#525BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BC7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BC7#FFFFFF#000000##FFFFFF
##525BC71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #525bc7;
/* rgb */ color: rgb(82, 91, 199);
/* oklch */ color: oklch(52.3% 0.166 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d89d9',
    500: '#525bc7',
    950: '#000000',
  },
}
SCSS
$custom: #525bc7;
$custom-light: #8d89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#525bc7",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 235.385,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.16587,
    "h": 275.5
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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