#526BD6#526BD6

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

Color values

HEX#526BD6
RGBrgb(82, 107, 214)
HSLhsl(229, 62%, 58%)
HSVhsv(229, 62%, 84%)
CMYKcmyk(61.7%, 50%, 0%, 16.1%)
CIE-LABlab(48.46, 23.79, -57.96)
CIE-LCHlch(48.46, 62.65, 292.31°)
OKLaboklab(56.46% 0.0012 -0.166)
OKLCHoklch(56.46% 0.166 270.4)
XYZxyz(20.8709, 17.1625, 65.8181)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526BD6 #D6BD52
analogous
#52ADD6 #526BD6 #7B52D6
triadic
#526BD6 #D6526B #6BD652
tetradic
#526BD6 #D652AD #D6BD52 #52D67B
square
#526BD6 #D652AD #D6BD52 #52D67B
split-complementary
#526BD6 #D67B52 #ADD652
monochromatic
#21368C #2D48BE #526BD6 #8395E2 #B5C0ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526BD6#FFFFFF#000000##FFFFFF
##526BD61.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)
#3079DA
Deuteranopia (green-blind)
#0E6DD4
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #526bd6;
/* rgb */ color: rgb(82, 107, 214);
/* oklch */ color: oklch(56.5% 0.166 270.4);
Tailwind
colors: {
  custom: {
    50: '#8f95e3',
    500: '#526bd6',
    950: '#000000',
  },
}
SCSS
$custom: #526bd6;
$custom-light: #8f95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#526bd6",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 228.636,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.166,
    "h": 270.4
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #526BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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