#525C8A#525C8A

#525C8A is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.6% C 0.075 H 273.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#525C8A
RGBrgb(82, 92, 138)
HSLhsl(229, 25%, 43%)
HSVhsv(229, 41%, 54%)
CMYKcmyk(40.6%, 33.3%, 0%, 45.9%)
CIE-LABlab(40.05, 8.48, -26.78)
CIE-LCHlch(40.05, 28.09, 287.57°)
OKLaboklab(48.63% 0.0051 -0.0749)
OKLCHoklch(48.63% 0.075 273.9)
XYZxyz(11.8929, 11.2826, 25.5909)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525C8A #8A8052
analogous
#52788A #525C8A #64528A
triadic
#525C8A #8A525C #5C8A52
tetradic
#525C8A #8A5278 #8A8052 #528A64
square
#525C8A #8A5278 #8A8052 #528A64
split-complementary
#525C8A #8A6452 #788A52
monochromatic
#24293D #3B4264 #525C8A #6F7AAA #969DC1

Accessibility & contrast

On white

6.45
#525C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#525C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525C8A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525C8A#FFFFFF#000000##FFFFFF
##525C8A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#41656D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #525c8a;
/* rgb */ color: rgb(82, 92, 138);
/* oklch */ color: oklch(48.6% 0.075 273.9);
Tailwind
colors: {
  custom: {
    50: '#858aac',
    500: '#525c8a',
    950: '#000000',
  },
}
SCSS
$custom: #525c8a;
$custom-light: #858aac;
$custom-dark: #000000;
JSON
{
  "hex": "#525c8a",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 229.286,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.07509,
    "h": 273.9
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#525C8A
secondary
#AEA78A
accent
#B166C2
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #525C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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