#5052EB#5052EB

#5052EB is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.224 H 275.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5052EB
RGBrgb(80, 82, 235)
HSLhsl(239, 79%, 62%)
HSVhsv(239, 66%, 92%)
CMYKcmyk(66%, 65.1%, 0%, 7.8%)
CIE-LABlab(43.85, 45.80, -77.36)
CIE-LCHlch(43.85, 89.90, 300.63°)
OKLaboklab(53.49% 0.0202 -0.2233)
OKLCHoklch(53.49% 0.224 275.2)
XYZxyz(21.3160, 13.7363, 80.1092)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5052EB #EBE950
analogous
#50A0EB #5052EB #9C50EB
triadic
#5052EB #EB5052 #52EB50
tetradic
#5052EB #EB50A0 #EBE950 #50EB9C
square
#5052EB #EB50A0 #EBE950 #50EB9C
split-complementary
#5052EB #EB9C50 #A0EB50
monochromatic
#1416AD #1A1DE4 #5052EB #8788F1 #BEBFF8

Accessibility & contrast

On white

5.60
#5052EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5052EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5052EB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5052EB#FFFFFF#000000##FFFFFF
##5052EB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5052eb;
/* rgb */ color: rgb(80, 82, 235);
/* oklch */ color: oklch(53.5% 0.224 275.2);
Tailwind
colors: {
  custom: {
    50: '#9383f3',
    500: '#5052eb',
    950: '#000000',
  },
}
SCSS
$custom: #5052eb;
$custom-light: #9383f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5052eb",
  "rgb": {
    "r": 80,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 239.226,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.22419,
    "h": 275.2
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#5052EB
secondary
#E8E7AF
accent
#D90ADC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5052EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5052EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva