#525980#525980

#525980 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.4% C 0.064 H 275.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#525980
RGBrgb(82, 89, 128)
HSLhsl(231, 22%, 41%)
HSVhsv(231, 36%, 50%)
CMYKcmyk(35.9%, 30.5%, 0%, 49.8%)
CIE-LABlab(38.72, 7.41, -22.78)
CIE-LCHlch(38.72, 23.95, 288.02°)
OKLaboklab(47.44% 0.0065 -0.0634)
OKLCHoklch(47.44% 0.064 275.9)
XYZxyz(10.9472, 10.4967, 21.8672)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525980 #807952
analogous
#527080 #525980 #625280
triadic
#525980 #805259 #598052
tetradic
#525980 #805270 #807952 #528062
square
#525980 #805270 #807952 #528062
split-complementary
#525980 #806252 #708052
monochromatic
#222535 #3A3F5B #525980 #6D75A2 #9399BA

Accessibility & contrast

On white

6.78
#525980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#525980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525980
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525980#FFFFFF#000000##FFFFFF
##5259801.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D82
Deuteranopia (green-blind)
#4A597F
Tritanopia (blue-blind)
#456067
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #525980;
/* rgb */ color: rgb(82, 89, 128);
/* oklch */ color: oklch(47.4% 0.064 275.9);
Tailwind
colors: {
  custom: {
    50: '#8487a5',
    500: '#525980',
    950: '#000000',
  },
}
SCSS
$custom: #525980;
$custom-light: #8487a5;
$custom-dark: #000000;
JSON
{
  "hex": "#525980",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 128
  },
  "hsl": {
    "h": 230.87,
    "s": 21.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.0637,
    "h": 275.9
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#525980
secondary
#A7A287
accent
#B169BE
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #525980

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

Preview Lab → · Contrast checker → · Palette generator →

#525980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva