#526BB5#526BB5

#526BB5 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.3% C 0.120 H 268.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#526BB5
RGBrgb(82, 107, 181)
HSLhsl(225, 40%, 52%)
HSVhsv(225, 55%, 71%)
CMYKcmyk(54.7%, 40.9%, 0%, 29%)
CIE-LABlab(46.50, 12.71, -42.12)
CIE-LCHlch(46.50, 43.99, 286.80°)
OKLaboklab(54.33% -0.0038 -0.1195)
OKLCHoklch(54.33% 0.12 268.2)
XYZxyz(17.0751, 15.6442, 45.8269)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526BB5 #B59C52
analogous
#529DB5 #526BB5 #6B52B5
triadic
#526BB5 #B5526B #6BB552
tetradic
#526BB5 #B5529D #B59C52 #52B56B
square
#526BB5 #B5529D #B59C52 #52B56B
split-complementary
#526BB5 #B56B52 #9DB552
monochromatic
#2A3862 #3C518D #526BB5 #7D90C7 #A8B4DA

Accessibility & contrast

On white

5.09
#526BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#526BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526BB5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526BB5#FFFFFF#000000##FFFFFF
##526BB51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#416AB3
Tritanopia (blue-blind)
#1D7B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #526bb5;
/* rgb */ color: rgb(82, 107, 181);
/* oklch */ color: oklch(54.3% 0.120 268.2);
Tailwind
colors: {
  custom: {
    50: '#8a95cb',
    500: '#526bb5',
    950: '#000000',
  },
}
SCSS
$custom: #526bb5;
$custom-light: #8a95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#526bb5",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 224.848,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.11953,
    "h": 268.2
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #526BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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