#526AC2#526AC2

#526AC2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.139 H 269.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#526AC2
RGBrgb(82, 106, 194)
HSLhsl(227, 48%, 54%)
HSVhsv(227, 58%, 76%)
CMYKcmyk(57.7%, 45.4%, 0%, 23.9%)
CIE-LABlab(46.97, 17.66, -48.91)
CIE-LCHlch(46.97, 52.00, 289.85°)
OKLaboklab(54.93% -0.0003 -0.1394)
OKLCHoklch(54.93% 0.139 269.9)
XYZxyz(18.3681, 15.9955, 53.1480)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526AC2 #C2AA52
analogous
#52A2C2 #526AC2 #7252C2
triadic
#526AC2 #C2526A #6AC252
tetradic
#526AC2 #C252A2 #C2AA52 #52C272
square
#526AC2 #C252A2 #C2AA52 #52C272
split-complementary
#526AC2 #C27252 #A2C252
monochromatic
#283872 #384E9F #526AC2 #7F91D2 #ACB8E2

Accessibility & contrast

On white

5.00
#526AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#526AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526AC2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526AC2#FFFFFF#000000##FFFFFF
##526AC21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#326BC0
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526ac2;
/* rgb */ color: rgb(82, 106, 194);
/* oklch */ color: oklch(54.9% 0.139 269.9);
Tailwind
colors: {
  custom: {
    50: '#8b94d5',
    500: '#526ac2',
    950: '#000000',
  },
}
SCSS
$custom: #526ac2;
$custom-light: #8b94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#526ac2",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 227.143,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.13939,
    "h": 269.9
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#526AC2
secondary
#D0C6A0
accent
#BB50D7
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #526AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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