#526CD5#526CD5

#526CD5 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.163 H 270.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#526CD5
RGBrgb(82, 108, 213)
HSLhsl(228, 61%, 58%)
HSVhsv(228, 62%, 84%)
CMYKcmyk(61.5%, 49.3%, 0%, 16.5%)
CIE-LABlab(48.66, 22.83, -57.07)
CIE-LCHlch(48.66, 61.47, 291.80°)
OKLaboklab(56.59% 0.0001 -0.1634)
OKLCHoklch(56.59% 0.163 270)
XYZxyz(20.8484, 17.3213, 65.1826)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CD5 #D5BB52
analogous
#52ADD5 #526CD5 #7A52D5
triadic
#526CD5 #D5526C #6CD552
tetradic
#526CD5 #D552AD #D5BB52 #52D57A
square
#526CD5 #D552AD #D5BB52 #52D57A
split-complementary
#526CD5 #D57A52 #ADD552
monochromatic
#22378B #2E4ABC #526CD5 #8396E1 #B4C0ED

Accessibility & contrast

On white

4.70
#526CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#526CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526CD5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CD5#FFFFFF#000000##FFFFFF
##526CD51.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347AD9
Deuteranopia (green-blind)
#176ED3
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #526cd5;
/* rgb */ color: rgb(82, 108, 213);
/* oklch */ color: oklch(56.6% 0.163 270.0);
Tailwind
colors: {
  custom: {
    50: '#8e95e2',
    500: '#526cd5',
    950: '#000000',
  },
}
SCSS
$custom: #526cd5;
$custom-light: #8e95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#526cd5",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 228.092,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.16337,
    "h": 270
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#526CD5
secondary
#DCD1A7
accent
#C444E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #526CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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