#52599C#52599C

#52599C is a mid, moderate blue. Relative luminance 0.113; OKLCH L 49.0% C 0.107 H 277.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#52599C
RGBrgb(82, 89, 156)
HSLhsl(234, 31%, 47%)
HSVhsv(234, 47%, 61%)
CMYKcmyk(47.4%, 42.9%, 0%, 38.8%)
CIE-LABlab(40.14, 15.95, -37.47)
CIE-LCHlch(40.14, 40.72, 293.06°)
OKLaboklab(49.01% 0.0134 -0.106)
OKLCHoklch(49.01% 0.107 277.2)
XYZxyz(13.0510, 11.3382, 32.9469)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52599C #9C9552
analogous
#527E9C #52599C #70529C
triadic
#52599C #9C5259 #599C52
tetradic
#52599C #9C527E #9C9552 #529C70
square
#52599C #9C527E #9C9552 #529C70
split-complementary
#52599C #9C7052 #7E9C52
monochromatic
#282B4C #3D4274 #52599C #757BB6 #9DA1CB

Accessibility & contrast

On white

6.43
#52599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#52599C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52599C
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52599C#FFFFFF#000000##FFFFFF
##52599C1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F629F
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#376773
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #52599c;
/* rgb */ color: rgb(82, 89, 156);
/* oklch */ color: oklch(49.0% 0.107 277.2);
Tailwind
colors: {
  custom: {
    50: '#8787b9',
    500: '#52599c',
    950: '#000000',
  },
}
SCSS
$custom: #52599c;
$custom-light: #8787b9;
$custom-dark: #000000;
JSON
{
  "hex": "#52599c",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 234.324,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.10685,
    "h": 277.2
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#52599C
secondary
#B9B591
accent
#BE61C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #52599C

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

Preview Lab → · Contrast checker → · Palette generator →

#52599C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva