#526BD4#526BD4

#526BD4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.163 H 270.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#526BD4
RGBrgb(82, 107, 212)
HSLhsl(228, 60%, 58%)
HSVhsv(228, 61%, 83%)
CMYKcmyk(61.3%, 49.5%, 0%, 16.9%)
CIE-LABlab(48.34, 23.11, -57.03)
CIE-LCHlch(48.34, 61.53, 292.06°)
OKLaboklab(56.32% 0.001 -0.1632)
OKLCHoklch(56.32% 0.163 270.3)
XYZxyz(20.6170, 17.0610, 64.4812)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526BD4 #D4BB52
analogous
#52ACD4 #526BD4 #7A52D4
triadic
#526BD4 #D4526B #6BD452
tetradic
#526BD4 #D452AC #D4BB52 #52D47A
square
#526BD4 #D452AC #D4BB52 #52D47A
split-complementary
#526BD4 #D47A52 #ACD452
monochromatic
#223689 #2E49BA #526BD4 #8395E0 #B4BFEC

Accessibility & contrast

On white

4.76
#526BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#526BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526BD4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526BD4#FFFFFF#000000##FFFFFF
##526BD41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3379D8
Deuteranopia (green-blind)
#156DD2
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #526bd4;
/* rgb */ color: rgb(82, 107, 212);
/* oklch */ color: oklch(56.3% 0.163 270.3);
Tailwind
colors: {
  custom: {
    50: '#8e95e2',
    500: '#526bd4',
    950: '#000000',
  },
}
SCSS
$custom: #526bd4;
$custom-light: #8e95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#526bd4",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 228.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.16325,
    "h": 270.3
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#526BD4
secondary
#DBD1A7
accent
#C544E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #526BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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