#525EB8#525EB8

#525EB8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.141 H 274.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#525EB8
RGBrgb(82, 94, 184)
HSLhsl(233, 42%, 52%)
HSVhsv(233, 55%, 72%)
CMYKcmyk(55.4%, 48.9%, 0%, 27.8%)
CIE-LABlab(43.15, 21.87, -49.22)
CIE-LCHlch(43.15, 53.86, 293.96°)
OKLaboklab(51.83% 0.0115 -0.1404)
OKLCHoklch(51.83% 0.141 274.7)
XYZxyz(16.1313, 13.2588, 47.0473)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EB8 #B8AC52
analogous
#5291B8 #525EB8 #7952B8
triadic
#525EB8 #B8525E #5EB852
tetradic
#525EB8 #B85291 #B8AC52 #52B879
square
#525EB8 #B85291 #B8AC52 #52B879
split-complementary
#525EB8 #B87952 #91B852
monochromatic
#2A3166 #3C4691 #525EB8 #7D86CA #A9AFDC

Accessibility & contrast

On white

5.75
#525EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#525EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EB8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EB8#FFFFFF#000000##FFFFFF
##525EB81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#1C7282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #525eb8;
/* rgb */ color: rgb(82, 94, 184);
/* oklch */ color: oklch(51.8% 0.141 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a8bce',
    500: '#525eb8',
    950: '#000000',
  },
}
SCSS
$custom: #525eb8;
$custom-light: #8a8bce;
$custom-dark: #000000;
JSON
{
  "hex": "#525eb8",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 232.941,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.1409,
    "h": 274.7
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#525EB8
secondary
#C9C49D
accent
#C356D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #525EB8

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

Preview Lab → · Contrast checker → · Palette generator →

#525EB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva