#5246DC#5246DC

#5246DC is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.219 H 278.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5246DC
RGBrgb(82, 70, 220)
HSLhsl(245, 68%, 57%)
HSVhsv(245, 68%, 86%)
CMYKcmyk(62.7%, 68.2%, 0%, 13.7%)
CIE-LABlab(40.15, 48.19, -74.90)
CIE-LCHlch(40.15, 89.07, 302.76°)
OKLaboklab(50.45% 0.033 -0.216)
OKLCHoklch(50.45% 0.219 278.7)
XYZxyz(18.5840, 11.3400, 68.9058)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246DC #D0DC46
analogous
#4685DC #5246DC #9D46DC
triadic
#5246DC #DC5246 #46DC52
tetradic
#5246DC #DC4685 #D0DC46 #46DC9D
square
#5246DC #DC4685 #D0DC46 #46DC9D
split-complementary
#5246DC #DC9D46 #85DC46
monochromatic
#241B8D #3124C0 #5246DC #8279E6 #B2ADEF

Accessibility & contrast

On white

6.43
#5246DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5246DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5246DC#FFFFFF#000000##FFFFFF
##5246DC1.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)
#0065E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5246dc;
/* rgb */ color: rgb(82, 70, 220);
/* oklch */ color: oklch(50.4% 0.219 278.7);
Tailwind
colors: {
  custom: {
    50: '#927be8',
    500: '#5246dc',
    950: '#000000',
  },
}
SCSS
$custom: #5246dc;
$custom-light: #927be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5246dc",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 244.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.21856,
    "h": 278.7
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#5246DC
secondary
#D9DDA0
accent
#EB3DDD
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246DC

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

Preview Lab → · Contrast checker → · Palette generator →

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