#526BB8#526BB8

#526BB8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.124 H 268.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#526BB8
RGBrgb(82, 107, 184)
HSLhsl(225, 42%, 52%)
HSVhsv(225, 55%, 72%)
CMYKcmyk(55.4%, 41.8%, 0%, 27.8%)
CIE-LABlab(46.67, 13.70, -43.60)
CIE-LCHlch(46.67, 45.70, 287.45°)
OKLaboklab(54.51% -0.0032 -0.1238)
OKLCHoklch(54.51% 0.124 268.5)
XYZxyz(17.3862, 15.7686, 47.4656)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526BB8 #B89F52
analogous
#529EB8 #526BB8 #6C52B8
triadic
#526BB8 #B8526B #6BB852
tetradic
#526BB8 #B8529E #B89F52 #52B86C
square
#526BB8 #B8529E #B89F52 #52B86C
split-complementary
#526BB8 #B86C52 #9EB852
monochromatic
#2A3866 #3C5191 #526BB8 #7D90CA #A9B5DC

Accessibility & contrast

On white

5.06
#526BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#526BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526BB8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526BB8#FFFFFF#000000##FFFFFF
##526BB81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BB
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#187C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526bb8;
/* rgb */ color: rgb(82, 107, 184);
/* oklch */ color: oklch(54.5% 0.124 268.5);
Tailwind
colors: {
  custom: {
    50: '#8a95ce',
    500: '#526bb8',
    950: '#000000',
  },
}
SCSS
$custom: #526bb8;
$custom-light: #8a95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#526bb8",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 225.294,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.12384,
    "h": 268.5
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #526BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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