#5246E3#5246E3

#5246E3 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.227 H 278.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5246E3
RGBrgb(82, 70, 227)
HSLhsl(245, 74%, 58%)
HSVhsv(245, 69%, 89%)
CMYKcmyk(63.9%, 69.2%, 0%, 11%)
CIE-LABlab(40.77, 50.37, -77.88)
CIE-LCHlch(40.77, 92.75, 302.89°)
OKLaboklab(51.08% 0.0319 -0.2248)
OKLCHoklch(51.08% 0.227 278.1)
XYZxyz(19.5305, 11.7186, 73.8909)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246E3 #D7E346
analogous
#4688E3 #5246E3 #A046E3
triadic
#5246E3 #E35246 #46E352
tetradic
#5246E3 #E34688 #D7E346 #46E3A0
square
#5246E3 #E34688 #D7E346 #46E3A0
split-complementary
#5246E3 #E3A046 #88E346
monochromatic
#211798 #2C1FCD #5246E3 #847BEB #B5B0F3

Accessibility & contrast

On white

6.28
#5246E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5246E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5246E3#FFFFFF#000000##FFFFFF
##5246E31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E8
Deuteranopia (green-blind)
#005AE0
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5246e3;
/* rgb */ color: rgb(82, 70, 227);
/* oklch */ color: oklch(51.1% 0.227 278.1);
Tailwind
colors: {
  custom: {
    50: '#937bed',
    500: '#5246e3',
    950: '#000000',
  },
}
SCSS
$custom: #5246e3;
$custom-light: #937bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5246e3",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 244.586,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.22703,
    "h": 278.1
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#5246E3
secondary
#DDE2A3
accent
#F037E2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5246E3

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

Preview Lab → · Contrast checker → · Palette generator →

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