#526AB2#526AB2

#526AB2 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.9% C 0.116 H 268.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#526AB2
RGBrgb(82, 106, 178)
HSLhsl(225, 38%, 51%)
HSVhsv(225, 54%, 70%)
CMYKcmyk(53.9%, 40.4%, 0%, 30.2%)
CIE-LABlab(46.06, 12.35, -41.07)
CIE-LCHlch(46.06, 42.89, 286.73°)
OKLaboklab(53.94% -0.0032 -0.1164)
OKLCHoklch(53.94% 0.116 268.4)
XYZxyz(16.6669, 15.3151, 44.1887)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526AB2 #B29A52
analogous
#529AB2 #526AB2 #6A52B2
triadic
#526AB2 #B2526A #6AB252
tetradic
#526AB2 #B2529A #B29A52 #52B26A
square
#526AB2 #B2529A #B29A52 #52B26A
split-complementary
#526AB2 #B26A52 #9AB252
monochromatic
#2A385F #3D508A #526AB2 #7C8EC5 #A7B3D8

Accessibility & contrast

On white

5.17
#526AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#526AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526AB2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526AB2#FFFFFF#000000##FFFFFF
##526AB21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#217A85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #526ab2;
/* rgb */ color: rgb(82, 106, 178);
/* oklch */ color: oklch(53.9% 0.116 268.4);
Tailwind
colors: {
  custom: {
    50: '#8994c9',
    500: '#526ab2',
    950: '#000000',
  },
}
SCSS
$custom: #526ab2;
$custom-light: #8994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#526ab2",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 225,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.11645,
    "h": 268.4
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#526AB2
secondary
#C5BB9B
accent
#B159CE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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