#526CB5#526CB5

#526CB5 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.5% C 0.118 H 267.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#526CB5
RGBrgb(82, 108, 181)
HSLhsl(224, 40%, 52%)
HSVhsv(224, 55%, 71%)
CMYKcmyk(54.7%, 40.3%, 0%, 29%)
CIE-LABlab(46.78, 12.09, -41.68)
CIE-LCHlch(46.78, 43.39, 286.18°)
OKLaboklab(54.55% -0.0049 -0.1182)
OKLCHoklch(54.55% 0.118 267.6)
XYZxyz(17.1800, 15.8539, 45.8619)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CB5 #B59B52
analogous
#529EB5 #526CB5 #6A52B5
triadic
#526CB5 #B5526C #6CB552
tetradic
#526CB5 #B5529E #B59B52 #52B56A
square
#526CB5 #B5529E #B59B52 #52B56A
split-complementary
#526CB5 #B56A52 #9EB552
monochromatic
#2A3962 #3C528D #526CB5 #7D90C7 #A8B5DA

Accessibility & contrast

On white

5.03
#526CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#526CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526CB5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CB5#FFFFFF#000000##FFFFFF
##526CB51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#426BB3
Tritanopia (blue-blind)
#1C7C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526cb5;
/* rgb */ color: rgb(82, 108, 181);
/* oklch */ color: oklch(54.5% 0.118 267.6);
Tailwind
colors: {
  custom: {
    50: '#8995cb',
    500: '#526cb5',
    950: '#000000',
  },
}
SCSS
$custom: #526cb5;
$custom-light: #8995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#526cb5",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 224.242,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.11827,
    "h": 267.6
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#526CB5
secondary
#C7BC9C
accent
#B058D0
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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