#52479D#52479D

#52479D is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.135 H 285.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#52479D
RGBrgb(82, 71, 157)
HSLhsl(248, 38%, 45%)
HSVhsv(248, 55%, 62%)
CMYKcmyk(47.8%, 54.8%, 0%, 38.4%)
CIE-LABlab(35.47, 27.71, -45.55)
CIE-LCHlch(35.47, 53.31, 301.32°)
OKLaboklab(45.5% 0.0361 -0.1298)
OKLCHoklch(45.5% 0.135 285.5)
XYZxyz(11.8169, 8.7341, 32.9550)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52479D #929D47
analogous
#47679D #52479D #7D479D
triadic
#52479D #9D5247 #479D52
tetradic
#52479D #9D4767 #929D47 #479D7D
square
#52479D #9D4767 #929D47 #479D7D
split-complementary
#52479D #9D7D47 #679D47
monochromatic
#262149 #3C3473 #52479D #7267BA #9991CD

Accessibility & contrast

On white

7.64
#52479D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#52479D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52479D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52479D#FFFFFF#000000##FFFFFF
##52479D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#395A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #52479d;
/* rgb */ color: rgb(82, 71, 157);
/* oklch */ color: oklch(45.5% 0.135 285.5);
Tailwind
colors: {
  custom: {
    50: '#887aba',
    500: '#52479d',
    950: '#000000',
  },
}
SCSS
$custom: #52479d;
$custom-light: #887aba;
$custom-dark: #000000;
JSON
{
  "hex": "#52479d",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 157
  },
  "hsl": {
    "h": 247.674,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45496,
    "c": 0.13474,
    "h": 285.5
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#52479D
secondary
#B3B987
accent
#CE5ABF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #52479D

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

Preview Lab → · Contrast checker → · Palette generator →

#52479D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva