#525DB2#525DB2

#525DB2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.134 H 275.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#525DB2
RGBrgb(82, 93, 178)
HSLhsl(233, 38%, 51%)
HSVhsv(233, 54%, 70%)
CMYKcmyk(53.9%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.51, 20.52, -46.72)
CIE-LCHlch(42.51, 51.03, 293.71°)
OKLaboklab(51.23% 0.0119 -0.1331)
OKLCHoklch(51.23% 0.134 275.1)
XYZxyz(15.4273, 12.8359, 43.7755)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DB2 #B2A752
analogous
#528DB2 #525DB2 #7752B2
triadic
#525DB2 #B2525D #5DB252
tetradic
#525DB2 #B2528D #B2A752 #52B277
square
#525DB2 #B2528D #B2A752 #52B277
split-complementary
#525DB2 #B27752 #8DB252
monochromatic
#2A305F #3D468A #525DB2 #7C85C5 #A7ACD8

Accessibility & contrast

On white

5.89
#525DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#525DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DB2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DB2#FFFFFF#000000##FFFFFF
##525DB21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#2B61B0
Tritanopia (blue-blind)
#24707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525db2;
/* rgb */ color: rgb(82, 93, 178);
/* oklch */ color: oklch(51.2% 0.134 275.1);
Tailwind
colors: {
  custom: {
    50: '#8a8ac9',
    500: '#525db2',
    950: '#000000',
  },
}
SCSS
$custom: #525db2;
$custom-light: #8a8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#525db2",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 233.125,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.13364,
    "h": 275.1
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#525DB2
secondary
#C5C09B
accent
#C159CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #525DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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