#526CB8#526CB8

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

Color values

HEX#526CB8
RGBrgb(82, 108, 184)
HSLhsl(225, 42%, 52%)
HSVhsv(225, 55%, 72%)
CMYKcmyk(55.4%, 41.3%, 0%, 27.8%)
CIE-LABlab(46.95, 13.08, -43.16)
CIE-LCHlch(46.95, 45.10, 286.86°)
OKLaboklab(54.72% -0.0043 -0.1225)
OKLCHoklch(54.72% 0.123 268)
XYZxyz(17.4911, 15.9784, 47.5005)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CB8 #B89E52
analogous
#529FB8 #526CB8 #6B52B8
triadic
#526CB8 #B8526C #6CB852
tetradic
#526CB8 #B8529F #B89E52 #52B86B
square
#526CB8 #B8529F #B89E52 #52B86B
split-complementary
#526CB8 #B86B52 #9FB852
monochromatic
#2A3966 #3C5191 #526CB8 #7D91CA #A9B6DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526CB8#FFFFFF#000000##FFFFFF
##526CB81.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)
#4C74BB
Deuteranopia (green-blind)
#406BB6
Tritanopia (blue-blind)
#177D89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526cb8;
/* rgb */ color: rgb(82, 108, 184);
/* oklch */ color: oklch(54.7% 0.123 268.0);
Tailwind
colors: {
  custom: {
    50: '#8a95ce',
    500: '#526cb8',
    950: '#000000',
  },
}
SCSS
$custom: #526cb8;
$custom-light: #8a95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#526cb8",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 224.706,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54724,
    "c": 0.12259,
    "h": 268
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#526CB8
secondary
#C9BE9D
accent
#B256D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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