#525EA8#525EA8

#525EA8 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.8% C 0.118 H 274.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#525EA8
RGBrgb(82, 94, 168)
HSLhsl(232, 34%, 49%)
HSVhsv(232, 51%, 66%)
CMYKcmyk(51.2%, 44%, 0%, 34.1%)
CIE-LABlab(42.19, 16.63, -41.35)
CIE-LCHlch(42.19, 44.57, 291.90°)
OKLaboklab(50.79% 0.0092 -0.1173)
OKLCHoklch(50.79% 0.118 274.5)
XYZxyz(14.5480, 12.6255, 38.7086)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EA8 #A89C52
analogous
#5289A8 #525EA8 #7152A8
triadic
#525EA8 #A8525E #5EA852
tetradic
#525EA8 #A85289 #A89C52 #52A871
square
#525EA8 #A85289 #A89C52 #52A871
split-complementary
#525EA8 #A87152 #89A852
monochromatic
#2A3056 #3E477F #525EA8 #7983BE #A3A9D2

Accessibility & contrast

On white

5.96
#525EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#525EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EA8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EA8#FFFFFF#000000##FFFFFF
##525EA81.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AB
Deuteranopia (green-blind)
#3760A6
Tritanopia (blue-blind)
#2E6E7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525ea8;
/* rgb */ color: rgb(82, 94, 168);
/* oklch */ color: oklch(50.8% 0.118 274.5);
Tailwind
colors: {
  custom: {
    50: '#888bc2',
    500: '#525ea8',
    950: '#000000',
  },
}
SCSS
$custom: #525ea8;
$custom-light: #888bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#525ea8",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 231.628,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.11769,
    "h": 274.5
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#525EA8
secondary
#BFBA97
accent
#BB5DCA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #525EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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