#526CD8#526CD8

#526CD8 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.167 H 270.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#526CD8
RGBrgb(82, 108, 216)
HSLhsl(228, 63%, 58%)
HSVhsv(228, 62%, 85%)
CMYKcmyk(62%, 50%, 0%, 15.3%)
CIE-LABlab(48.85, 23.84, -58.47)
CIE-LCHlch(48.85, 63.15, 292.19°)
OKLaboklab(56.79% 0.0004 -0.1675)
OKLCHoklch(56.79% 0.167 270.1)
XYZxyz(21.2327, 17.4750, 67.2065)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CD8 #D8BE52
analogous
#52AFD8 #526CD8 #7B52D8
triadic
#526CD8 #D8526C #6CD852
tetradic
#526CD8 #D852AF #D8BE52 #52D87B
square
#526CD8 #D852AF #D8BE52 #52D87B
split-complementary
#526CD8 #D87B52 #AFD852
monochromatic
#20368F #2C49C1 #526CD8 #8496E3 #B6C1EF

Accessibility & contrast

On white

4.67
#526CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#526CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #526CD8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CD8#FFFFFF#000000##FFFFFF
##526CD81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#307ADC
Deuteranopia (green-blind)
#0C6ED6
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #526cd8;
/* rgb */ color: rgb(82, 108, 216);
/* oklch */ color: oklch(56.8% 0.167 270.1);
Tailwind
colors: {
  custom: {
    50: '#8f95e5',
    500: '#526cd8',
    950: '#000000',
  },
}
SCSS
$custom: #526cd8;
$custom-light: #8f95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#526cd8",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 228.358,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.16749,
    "h": 270.1
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#526CD8
secondary
#DDD3A8
accent
#C642E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #526CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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