#5052DB#5052DB

#5052DB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.1% C 0.204 H 276.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5052DB
RGBrgb(80, 82, 219)
HSLhsl(239, 66%, 59%)
HSVhsv(239, 63%, 86%)
CMYKcmyk(63.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.54, 40.57, -70.42)
CIE-LCHlch(42.54, 81.27, 299.95°)
OKLaboklab(52.12% 0.0215 -0.2029)
OKLCHoklch(52.12% 0.204 276)
XYZxyz(19.1076, 12.8529, 68.4780)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5052DB #DBD950
analogous
#5097DB #5052DB #9350DB
triadic
#5052DB #DB5052 #52DB50
tetradic
#5052DB #DB5097 #DBD950 #50DB93
square
#5052DB #DB5097 #DBD950 #50DB93
split-complementary
#5052DB #DB9350 #97DB50
monochromatic
#1E2092 #292BC5 #5052DB #8384E5 #B6B6F0

Accessibility & contrast

On white

5.88
#5052DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5052DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5052DB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5052DB#FFFFFF#000000##FFFFFF
##5052DB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5052db;
/* rgb */ color: rgb(80, 82, 219);
/* oklch */ color: oklch(52.1% 0.204 276.0);
Tailwind
colors: {
  custom: {
    50: '#9083e7',
    500: '#5052db',
    950: '#000000',
  },
}
SCSS
$custom: #5052db;
$custom-light: #9083e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5052db",
  "rgb": {
    "r": 80,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 239.137,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52124,
    "c": 0.20406,
    "h": 276
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#5052DB
secondary
#DFDEA8
accent
#E63FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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