#526CD2#526CD2

#526CD2 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.159 H 269.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#526CD2
RGBrgb(82, 108, 210)
HSLhsl(228, 59%, 57%)
HSVhsv(228, 61%, 82%)
CMYKcmyk(61%, 48.6%, 0%, 17.6%)
CIE-LABlab(48.47, 21.81, -55.67)
CIE-LCHlch(48.47, 59.79, 291.39°)
OKLaboklab(56.39% -0.0003 -0.1592)
OKLCHoklch(56.39% 0.159 269.9)
XYZxyz(20.4712, 17.1704, 63.1957)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CD2 #D2B852
analogous
#52ACD2 #526CD2 #7852D2
triadic
#526CD2 #D2526C #6CD252
tetradic
#526CD2 #D252AC #D2B852 #52D278
square
#526CD2 #D252AC #D2B852 #52D278
split-complementary
#526CD2 #D27852 #ACD252
monochromatic
#233787 #304BB7 #526CD2 #8395DF #B3BFEB

Accessibility & contrast

On white

4.74
#526CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#526CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526CD2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CD2#FFFFFF#000000##FFFFFF
##526CD21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3779D6
Deuteranopia (green-blind)
#1E6ED0
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #526cd2;
/* rgb */ color: rgb(82, 108, 210);
/* oklch */ color: oklch(56.4% 0.159 269.9);
Tailwind
colors: {
  custom: {
    50: '#8e95e0',
    500: '#526cd2',
    950: '#000000',
  },
}
SCSS
$custom: #526cd2;
$custom-light: #8e95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#526cd2",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 227.813,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56386,
    "c": 0.15924,
    "h": 269.9
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#526CD2
secondary
#DACFA6
accent
#C246E2
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #526CD2

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

Preview Lab → · Contrast checker → · Palette generator →

#526CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva