#526CB7#526CB7

#526CB7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.121 H 267.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#526CB7
RGBrgb(82, 108, 183)
HSLhsl(225, 41%, 52%)
HSVhsv(225, 55%, 72%)
CMYKcmyk(55.2%, 41%, 0%, 28.2%)
CIE-LABlab(46.89, 12.75, -42.66)
CIE-LCHlch(46.89, 44.53, 286.64°)
OKLaboklab(54.66% -0.0045 -0.1211)
OKLCHoklch(54.66% 0.121 267.9)
XYZxyz(17.3866, 15.9366, 46.9504)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CB7 #B79D52
analogous
#529FB7 #526CB7 #6B52B7
triadic
#526CB7 #B7526C #6CB752
tetradic
#526CB7 #B7529F #B79D52 #52B76B
square
#526CB7 #B7529F #B79D52 #52B76B
split-complementary
#526CB7 #B76B52 #9FB752
monochromatic
#2A3965 #3C5290 #526CB7 #7D91C9 #A8B5DB

Accessibility & contrast

On white

5.01
#526CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#526CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526CB7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CB7#FFFFFF#000000##FFFFFF
##526CB71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#197C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526cb7;
/* rgb */ color: rgb(82, 108, 183);
/* oklch */ color: oklch(54.7% 0.121 267.9);
Tailwind
colors: {
  custom: {
    50: '#8a95cd',
    500: '#526cb7',
    950: '#000000',
  },
}
SCSS
$custom: #526cb7;
$custom-light: #8a95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#526cb7",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 224.554,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.12114,
    "h": 267.9
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#526CB7
secondary
#C9BD9C
accent
#B257D1
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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