#5246E2#5246E2

#5246E2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.226 H 278.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5246E2
RGBrgb(82, 70, 226)
HSLhsl(245, 73%, 58%)
HSVhsv(245, 69%, 89%)
CMYKcmyk(63.7%, 69%, 0%, 11.4%)
CIE-LABlab(40.68, 50.06, -77.46)
CIE-LCHlch(40.68, 92.23, 302.87°)
OKLaboklab(50.99% 0.0321 -0.2235)
OKLCHoklch(50.99% 0.226 278.2)
XYZxyz(19.3929, 11.6636, 73.1661)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246E2 #D6E246
analogous
#4688E2 #5246E2 #A046E2
triadic
#5246E2 #E25246 #46E252
tetradic
#5246E2 #E24688 #D6E246 #46E2A0
square
#5246E2 #E24688 #D6E246 #46E2A0
split-complementary
#5246E2 #E2A046 #88E246
monochromatic
#211896 #2D20CB #5246E2 #837BEA #B5B0F3

Accessibility & contrast

On white

6.30
#5246E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5246E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5246E2#FFFFFF#000000##FFFFFF
##5246E21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5246e2;
/* rgb */ color: rgb(82, 70, 226);
/* oklch */ color: oklch(51.0% 0.226 278.2);
Tailwind
colors: {
  custom: {
    50: '#937bec',
    500: '#5246e2',
    950: '#000000',
  },
}
SCSS
$custom: #5246e2;
$custom-light: #937bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5246e2",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 244.615,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5099,
    "c": 0.22582,
    "h": 278.2
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#5246E2
secondary
#DCE1A3
accent
#F038E1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5246E2

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

Preview Lab → · Contrast checker → · Palette generator →

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