#526BB9#526BB9

#526BB9 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.6% C 0.125 H 268.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#526BB9
RGBrgb(82, 107, 185)
HSLhsl(225, 42%, 52%)
HSVhsv(225, 56%, 73%)
CMYKcmyk(55.7%, 42.2%, 0%, 27.5%)
CIE-LABlab(46.73, 14.03, -44.09)
CIE-LCHlch(46.73, 46.27, 287.66°)
OKLaboklab(54.57% -0.003 -0.1252)
OKLCHoklch(54.57% 0.125 268.6)
XYZxyz(17.4914, 15.8107, 48.0196)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526BB9 #B9A052
analogous
#529FB9 #526BB9 #6D52B9
triadic
#526BB9 #B9526B #6BB952
tetradic
#526BB9 #B9529F #B9A052 #52B96D
square
#526BB9 #B9529F #B9A052 #52B96D
split-complementary
#526BB9 #B96D52 #9FB952
monochromatic
#2A3967 #3B5093 #526BB9 #7E90CB #A9B6DC

Accessibility & contrast

On white

5.05
#526BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#526BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526BB9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526BB9#FFFFFF#000000##FFFFFF
##526BB91.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#167C89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526bb9;
/* rgb */ color: rgb(82, 107, 185);
/* oklch */ color: oklch(54.6% 0.125 268.6);
Tailwind
colors: {
  custom: {
    50: '#8a95ce',
    500: '#526bb9',
    950: '#000000',
  },
}
SCSS
$custom: #526bb9;
$custom-light: #8a95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#526bb9",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 225.437,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.12528,
    "h": 268.6
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#526BB9
secondary
#CABF9D
accent
#B456D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #526BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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