#525EA7#525EA7

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

Color values

HEX#525EA7
RGBrgb(82, 94, 167)
HSLhsl(232, 34%, 49%)
HSVhsv(232, 51%, 65%)
CMYKcmyk(50.9%, 43.7%, 0%, 34.5%)
CIE-LABlab(42.14, 16.30, -40.85)
CIE-LCHlch(42.14, 43.98, 291.76°)
OKLaboklab(50.73% 0.0091 -0.1159)
OKLCHoklch(50.73% 0.116 274.5)
XYZxyz(14.4552, 12.5884, 38.2198)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EA7 #A79B52
analogous
#5289A7 #525EA7 #7152A7
triadic
#525EA7 #A7525E #5EA752
tetradic
#525EA7 #A75289 #A79B52 #52A771
square
#525EA7 #A75289 #A79B52 #52A771
split-complementary
#525EA7 #A77152 #89A752
monochromatic
#2A3055 #3E477E #525EA7 #7983BD #A2A9D1

Accessibility & contrast

On white

5.97
#525EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#525EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EA7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EA7#FFFFFF#000000##FFFFFF
##525EA71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067AA
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#2F6E7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #525ea7;
/* rgb */ color: rgb(82, 94, 167);
/* oklch */ color: oklch(50.7% 0.116 274.5);
Tailwind
colors: {
  custom: {
    50: '#888bc1',
    500: '#525ea7',
    950: '#000000',
  },
}
SCSS
$custom: #525ea7;
$custom-light: #888bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#525ea7",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 231.529,
    "s": 34.137,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.11621,
    "h": 274.5
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#525EA7
secondary
#BFB996
accent
#BB5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #525EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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