#5036E2#5036E2

#5036E2 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.7% C 0.242 H 279.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5036E2
RGBrgb(80, 54, 226)
HSLhsl(249, 75%, 55%)
HSVhsv(249, 76%, 89%)
CMYKcmyk(64.6%, 76.1%, 0%, 11.4%)
CIE-LABlab(37.54, 58.20, -82.63)
CIE-LCHlch(37.54, 101.07, 305.16°)
OKLaboklab(48.73% 0.0393 -0.2386)
OKLCHoklch(48.73% 0.242 279.4)
XYZxyz(18.3505, 9.8333, 72.8677)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036E2 #C8E236
analogous
#3672E2 #5036E2 #A636E2
triadic
#5036E2 #E25036 #36E250
tetradic
#5036E2 #E23672 #C8E236 #36E2A6
square
#5036E2 #E23672 #C8E236 #36E2A6
split-complementary
#5036E2 #E2A636 #72E236
monochromatic
#26148A #341CBF #5036E2 #7F6BEA #ADA1F1

Accessibility & contrast

On white

7.08
#5036E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5036E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036E2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036E2#FFFFFF#000000##FFFFFF
##5036E21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE7
Deuteranopia (green-blind)
#0052DF
Tritanopia (blue-blind)
#00698B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5036e2;
/* rgb */ color: rgb(80, 54, 226);
/* oklch */ color: oklch(48.7% 0.242 279.4);
Tailwind
colors: {
  custom: {
    50: '#9371ed',
    500: '#5036e2',
    950: '#000000',
  },
}
SCSS
$custom: #5036e2;
$custom-light: #9371ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5036e2",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 226
  },
  "hsl": {
    "h": 249.07,
    "s": 74.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.24179,
    "h": 279.4
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#5036E2
secondary
#D3DE96
accent
#F136D5
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5036E2

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

Preview Lab → · Contrast checker → · Palette generator →

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