#52507A#52507A

#52507A is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.1% C 0.068 H 285.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#52507A
RGBrgb(82, 80, 122)
HSLhsl(243, 21%, 40%)
HSVhsv(243, 34%, 48%)
CMYKcmyk(32.8%, 34.4%, 0%, 52.2%)
CIE-LABlab(35.86, 11.40, -23.54)
CIE-LCHlch(35.86, 26.15, 295.84°)
OKLaboklab(45.14% 0.0182 -0.0655)
OKLCHoklch(45.14% 0.068 285.5)
XYZxyz(9.8603, 8.9360, 19.6139)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52507A #787A50
analogous
#50637A #52507A #67507A
triadic
#52507A #7A5250 #507A52
tetradic
#52507A #7A5063 #787A50 #507A67
square
#52507A #7A5063 #787A50 #507A67
split-complementary
#52507A #7A6750 #637A50
monochromatic
#202030 #393855 #52507A #6C6A9D #918FB5

Accessibility & contrast

On white

7.53
#52507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#52507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52507A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52507A#FFFFFF#000000##FFFFFF
##52507A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567C
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#48585F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #52507a;
/* rgb */ color: rgb(82, 80, 122);
/* oklch */ color: oklch(45.1% 0.068 285.5);
Tailwind
colors: {
  custom: {
    50: '#8481a0',
    500: '#52507a',
    950: '#000000',
  },
}
SCSS
$custom: #52507a;
$custom-light: #8481a0;
$custom-dark: #000000;
JSON
{
  "hex": "#52507a",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 242.857,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.06801,
    "h": 285.5
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#52507A
secondary
#A1A383
accent
#BD6AB9
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #52507A

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

Preview Lab → · Contrast checker → · Palette generator →

#52507A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva