#52589B#52589B

#52589B is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.7% C 0.107 H 277.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#52589B
RGBrgb(82, 88, 155)
HSLhsl(235, 31%, 46%)
HSVhsv(235, 47%, 61%)
CMYKcmyk(47.1%, 43.2%, 0%, 39.2%)
CIE-LABlab(39.81, 16.27, -37.40)
CIE-LCHlch(39.81, 40.78, 293.51°)
OKLaboklab(48.73% 0.0145 -0.1058)
OKLCHoklch(48.73% 0.107 277.8)
XYZxyz(12.8840, 11.1392, 32.4752)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52589B #9B9552
analogous
#527D9B #52589B #71529B
triadic
#52589B #9B5258 #589B52
tetradic
#52589B #9B527D #9B9552 #529B71
square
#52589B #9B527D #9B9552 #529B71
split-complementary
#52589B #9B7152 #7D9B52
monochromatic
#282B4B #3D4173 #52589B #747AB6 #9DA0CB

Accessibility & contrast

On white

6.51
#52589B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#52589B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52589B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52589B#FFFFFF#000000##FFFFFF
##52589B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#395B99
Tritanopia (blue-blind)
#386672
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #52589b;
/* rgb */ color: rgb(82, 88, 155);
/* oklch */ color: oklch(48.7% 0.107 277.8);
Tailwind
colors: {
  custom: {
    50: '#8787b9',
    500: '#52589b',
    950: '#000000',
  },
}
SCSS
$custom: #52589b;
$custom-light: #8787b9;
$custom-dark: #000000;
JSON
{
  "hex": "#52589b",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 235.068,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.10678,
    "h": 277.8
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#52589B
secondary
#B8B591
accent
#BF61C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #52589B

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

Preview Lab → · Contrast checker → · Palette generator →

#52589B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva