#525BC2#525BC2

#525BC2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.159 H 275.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#525BC2
RGBrgb(82, 91, 194)
HSLhsl(235, 48%, 54%)
HSVhsv(235, 58%, 76%)
CMYKcmyk(57.7%, 53.1%, 0%, 23.9%)
CIE-LABlab(43.02, 27.08, -55.25)
CIE-LCHlch(43.02, 61.53, 296.11°)
OKLaboklab(51.93% 0.0156 -0.1582)
OKLCHoklch(51.93% 0.159 275.6)
XYZxyz(16.9552, 13.1698, 52.6770)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BC2 #C2B952
analogous
#5293C2 #525BC2 #8152C2
triadic
#525BC2 #C2525B #5BC252
tetradic
#525BC2 #C25293 #C2B952 #52C281
square
#525BC2 #C25293 #C2B952 #52C281
split-complementary
#525BC2 #C28152 #93C252
monochromatic
#282E72 #38409F #525BC2 #7F86D2 #ACB1E2

Accessibility & contrast

On white

5.78
#525BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#525BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BC2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BC2#FFFFFF#000000##FFFFFF
##525BC21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#057386
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #525bc2;
/* rgb */ color: rgb(82, 91, 194);
/* oklch */ color: oklch(51.9% 0.159 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c89d5',
    500: '#525bc2',
    950: '#000000',
  },
}
SCSS
$custom: #525bc2;
$custom-light: #8c89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#525bc2",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 235.179,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.15897,
    "h": 275.6
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#525BC2
secondary
#D0CCA0
accent
#CD50D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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