#526CB2#526CB2

#526CB2 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.4% C 0.114 H 267.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#526CB2
RGBrgb(82, 108, 178)
HSLhsl(224, 38%, 51%)
HSVhsv(224, 54%, 70%)
CMYKcmyk(53.9%, 39.3%, 0%, 30.2%)
CIE-LABlab(46.62, 11.11, -40.18)
CIE-LCHlch(46.62, 41.69, 285.45°)
OKLaboklab(54.37% -0.0056 -0.1138)
OKLCHoklch(54.37% 0.114 267.2)
XYZxyz(16.8755, 15.7321, 44.2582)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CB2 #B29852
analogous
#529CB2 #526CB2 #6852B2
triadic
#526CB2 #B2526C #6CB252
tetradic
#526CB2 #B2529C #B29852 #52B268
square
#526CB2 #B2529C #B29852 #52B268
split-complementary
#526CB2 #B26852 #9CB252
monochromatic
#2A395F #3D528A #526CB2 #7C90C5 #A7B4D8

Accessibility & contrast

On white

5.06
#526CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#526CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526CB2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CB2#FFFFFF#000000##FFFFFF
##526CB21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#446BB0
Tritanopia (blue-blind)
#217B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #526cb2;
/* rgb */ color: rgb(82, 108, 178);
/* oklch */ color: oklch(54.4% 0.114 267.2);
Tailwind
colors: {
  custom: {
    50: '#8995c9',
    500: '#526cb2',
    950: '#000000',
  },
}
SCSS
$custom: #526cb2;
$custom-light: #8995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#526cb2",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 223.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.11395,
    "h": 267.2
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#526CB2
secondary
#C5BA9B
accent
#AF59CE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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