#5246AA#5246AA

#5246AA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.154 H 284.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5246AA
RGBrgb(82, 70, 170)
HSLhsl(247, 42%, 47%)
HSVhsv(247, 59%, 67%)
CMYKcmyk(51.8%, 58.8%, 0%, 33.3%)
CIE-LABlab(36.13, 32.41, -52.27)
CIE-LCHlch(36.13, 61.50, 301.80°)
OKLaboklab(46.28% 0.0374 -0.1496)
OKLCHoklch(46.28% 0.154 284.1)
XYZxyz(12.9233, 9.0758, 39.0932)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246AA #9EAA46
analogous
#466CAA #5246AA #8446AA
triadic
#5246AA #AA5246 #46AA52
tetradic
#5246AA #AA466C #9EAA46 #46AA84
square
#5246AA #AA466C #9EAA46 #46AA84
split-complementary
#5246AA #AA8446 #6CAA46
monochromatic
#282253 #3D347F #5246AA #766BC2 #9E96D4

Accessibility & contrast

On white

7.46
#5246AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5246AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5246AA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246AA#FFFFFF#000000##FFFFFF
##5246AA1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#305D71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5246aa;
/* rgb */ color: rgb(82, 70, 170);
/* oklch */ color: oklch(46.3% 0.154 284.1);
Tailwind
colors: {
  custom: {
    50: '#8a7ac4',
    500: '#5246aa',
    950: '#000000',
  },
}
SCSS
$custom: #5246aa;
$custom-light: #8a7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#5246aa",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 247.2,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.1542,
    "h": 284.1
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#5246AA
secondary
#BAC08C
accent
#D156C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #5246AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5246AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva