#525988#525988

#525988 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.9% C 0.076 H 276.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#525988
RGBrgb(82, 89, 136)
HSLhsl(232, 25%, 43%)
HSVhsv(232, 40%, 53%)
CMYKcmyk(39.7%, 34.6%, 0%, 46.7%)
CIE-LABlab(39.10, 9.77, -27.06)
CIE-LCHlch(39.10, 28.77, 289.85°)
OKLaboklab(47.86% 0.0088 -0.0757)
OKLCHoklch(47.86% 0.076 276.6)
XYZxyz(11.4947, 10.7157, 24.7505)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525988 #888152
analogous
#527488 #525988 #665288
triadic
#525988 #885259 #598852
tetradic
#525988 #885274 #888152 #528866
square
#525988 #885274 #888152 #528866
split-complementary
#525988 #886652 #748852
monochromatic
#24273C #3B4062 #525988 #6F76A8 #959BBF

Accessibility & contrast

On white

6.68
#525988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#525988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525988
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525988#FFFFFF#000000##FFFFFF
##5259881.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E8A
Deuteranopia (green-blind)
#465A87
Tritanopia (blue-blind)
#42626A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #525988;
/* rgb */ color: rgb(82, 89, 136);
/* oklch */ color: oklch(47.9% 0.076 276.6);
Tailwind
colors: {
  custom: {
    50: '#8587ab',
    500: '#525988',
    950: '#000000',
  },
}
SCSS
$custom: #525988;
$custom-light: #8587ab;
$custom-dark: #000000;
JSON
{
  "hex": "#525988",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 136
  },
  "hsl": {
    "h": 232.222,
    "s": 24.771,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.07623,
    "h": 276.6
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#525988
secondary
#ACA88A
accent
#B567C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #525988

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

Preview Lab → · Contrast checker → · Palette generator →

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