#5246D8#5246D8

#5246D8 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.214 H 279.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5246D8
RGBrgb(82, 70, 216)
HSLhsl(245, 65%, 56%)
HSVhsv(245, 68%, 85%)
CMYKcmyk(62%, 67.6%, 0%, 15.3%)
CIE-LABlab(39.80, 46.94, -73.18)
CIE-LCHlch(39.80, 86.94, 302.68°)
OKLaboklab(50.09% 0.0336 -0.211)
OKLCHoklch(50.09% 0.214 279)
XYZxyz(18.0605, 11.1306, 66.1491)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246D8 #CCD846
analogous
#4683D8 #5246D8 #9B46D8
triadic
#5246D8 #D85246 #46D852
tetradic
#5246D8 #D84683 #CCD846 #46D89B
square
#5246D8 #D84683 #CCD846 #46D89B
split-complementary
#5246D8 #D89B46 #83D846
monochromatic
#251C87 #3327BA #5246D8 #8179E3 #B1ABED

Accessibility & contrast

On white

6.51
#5246D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5246D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5246D8#FFFFFF#000000##FFFFFF
##5246D81.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)
#0063DC
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5246d8;
/* rgb */ color: rgb(82, 70, 216);
/* oklch */ color: oklch(50.1% 0.214 279.0);
Tailwind
colors: {
  custom: {
    50: '#917be5',
    500: '#5246d8',
    950: '#000000',
  },
}
SCSS
$custom: #5246d8;
$custom-light: #917be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5246d8",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 244.932,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.21366,
    "h": 279
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#5246D8
secondary
#D6DB9F
accent
#E840DA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246D8

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

Preview Lab → · Contrast checker → · Palette generator →

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