#525EA2#525EA2

#525EA2 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.4% C 0.109 H 274.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#525EA2
RGBrgb(82, 94, 162)
HSLhsl(231, 33%, 48%)
HSVhsv(231, 49%, 64%)
CMYKcmyk(49.4%, 42%, 0%, 36.5%)
CIE-LABlab(41.86, 14.69, -38.33)
CIE-LCHlch(41.86, 41.05, 290.97°)
OKLaboklab(50.42% 0.0081 -0.1085)
OKLCHoklch(50.42% 0.109 274.3)
XYZxyz(14.0019, 12.4071, 35.8324)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EA2 #A29652
analogous
#5286A2 #525EA2 #6E52A2
triadic
#525EA2 #A2525E #5EA252
tetradic
#525EA2 #A25286 #A29652 #52A26E
square
#525EA2 #A25286 #A29652 #52A26E
split-complementary
#525EA2 #A26E52 #86A252
monochromatic
#292F51 #3D4679 #525EA2 #7781BA #A0A7CF

Accessibility & contrast

On white

6.03
#525EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#525EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EA2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EA2#FFFFFF#000000##FFFFFF
##525EA21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#3C60A0
Tritanopia (blue-blind)
#336C78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #525ea2;
/* rgb */ color: rgb(82, 94, 162);
/* oklch */ color: oklch(50.4% 0.109 274.3);
Tailwind
colors: {
  custom: {
    50: '#878bbe',
    500: '#525ea2',
    950: '#000000',
  },
}
SCSS
$custom: #525ea2;
$custom-light: #878bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#525ea2",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 231,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.10879,
    "h": 274.3
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#525EA2
secondary
#BCB694
accent
#B95FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #525EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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