#526CD6#526CD6

#526CD6 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.165 H 270.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#526CD6
RGBrgb(82, 108, 214)
HSLhsl(228, 62%, 58%)
HSVhsv(228, 62%, 84%)
CMYKcmyk(61.7%, 49.5%, 0%, 16.1%)
CIE-LABlab(48.73, 23.17, -57.54)
CIE-LCHlch(48.73, 62.03, 291.93°)
OKLaboklab(56.66% 0.0002 -0.1647)
OKLCHoklch(56.66% 0.165 270.1)
XYZxyz(20.9758, 17.3722, 65.8531)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CD6 #D6BC52
analogous
#52AED6 #526CD6 #7A52D6
triadic
#526CD6 #D6526C #6CD652
tetradic
#526CD6 #D652AE #D6BC52 #52D67A
square
#526CD6 #D652AE #D6BC52 #52D67A
split-complementary
#526CD6 #D67A52 #AED652
monochromatic
#21368C #2D4ABE #526CD6 #8396E2 #B5C0ED

Accessibility & contrast

On white

4.69
#526CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#526CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526CD6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CD6#FFFFFF#000000##FFFFFF
##526CD61.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#337ADA
Deuteranopia (green-blind)
#146ED4
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #526cd6;
/* rgb */ color: rgb(82, 108, 214);
/* oklch */ color: oklch(56.7% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#8f95e3',
    500: '#526cd6',
    950: '#000000',
  },
}
SCSS
$custom: #526cd6;
$custom-light: #8f95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#526cd6",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 228.182,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.16475,
    "h": 270.1
  },
  "luminance": 0.17374
}

Semantic roles & 50–950 ramp

primary
#526CD6
secondary
#DCD2A8
accent
#C543E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #526CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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