#525FD2#525FD2

#525FD2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.176 H 274.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#525FD2
RGBrgb(82, 95, 210)
HSLhsl(234, 59%, 57%)
HSVhsv(234, 61%, 82%)
CMYKcmyk(61%, 54.8%, 0%, 17.6%)
CIE-LABlab(45.12, 29.92, -61.07)
CIE-LCHlch(45.12, 68.01, 296.10°)
OKLaboklab(53.86% 0.0124 -0.1753)
OKLCHoklch(53.86% 0.176 274.1)
XYZxyz(19.2009, 14.6299, 62.7723)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FD2 #D2C552
analogous
#529FD2 #525FD2 #8552D2
triadic
#525FD2 #D2525F #5FD252
tetradic
#525FD2 #D2529F #D2C552 #52D285
square
#525FD2 #D2529F #D2C552 #52D285
split-complementary
#525FD2 #D28552 #9FD252
monochromatic
#232D87 #303DB7 #525FD2 #838CDF #B3B9EB

Accessibility & contrast

On white

5.35
#525FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#525FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FD2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FD2#FFFFFF#000000##FFFFFF
##525FD21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0471D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525fd2;
/* rgb */ color: rgb(82, 95, 210);
/* oklch */ color: oklch(53.9% 0.176 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f8ce1',
    500: '#525fd2',
    950: '#000000',
  },
}
SCSS
$custom: #525fd2;
$custom-light: #8f8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#525fd2",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 233.906,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.17573,
    "h": 274.1
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#525FD2
secondary
#DAD5A6
accent
#D246E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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