#526DD4#526DD4

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

Color values

HEX#526DD4
RGBrgb(82, 109, 212)
HSLhsl(228, 60%, 58%)
HSVhsv(228, 61%, 83%)
CMYKcmyk(61.3%, 48.6%, 0%, 16.9%)
CIE-LABlab(48.86, 21.86, -56.18)
CIE-LCHlch(48.86, 60.29, 291.26°)
OKLaboklab(56.72% -0.001 -0.1607)
OKLCHoklch(56.72% 0.161 269.6)
XYZxyz(20.8280, 17.4828, 64.5515)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526DD4 #D4B952
analogous
#52AED4 #526DD4 #7852D4
triadic
#526DD4 #D4526D #6DD452
tetradic
#526DD4 #D452AE #D4B952 #52D478
square
#526DD4 #D452AE #D4B952 #52D478
split-complementary
#526DD4 #D47852 #AED452
monochromatic
#223889 #2E4BBA #526DD4 #8396E0 #B4C0EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526DD4#FFFFFF#000000##FFFFFF
##526DD41.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)
#387AD8
Deuteranopia (green-blind)
#1D6FD2
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #526dd4;
/* rgb */ color: rgb(82, 109, 212);
/* oklch */ color: oklch(56.7% 0.161 269.6);
Tailwind
colors: {
  custom: {
    50: '#8e96e2',
    500: '#526dd4',
    950: '#000000',
  },
}
SCSS
$custom: #526dd4;
$custom-light: #8e96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#526dd4",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 212
  },
  "hsl": {
    "h": 227.538,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.16074,
    "h": 269.6
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#526DD4
secondary
#DBD0A7
accent
#C244E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #526DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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