#5052DA#5052DA

#5052DA is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.0% C 0.203 H 276.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5052DA
RGBrgb(80, 82, 218)
HSLhsl(239, 65%, 58%)
HSVhsv(239, 63%, 85%)
CMYKcmyk(63.3%, 62.4%, 0%, 14.5%)
CIE-LABlab(42.46, 40.25, -69.98)
CIE-LCHlch(42.46, 80.73, 299.90°)
OKLaboklab(52.04% 0.0216 -0.2016)
OKLCHoklch(52.04% 0.203 276.1)
XYZxyz(18.9763, 12.8004, 67.7868)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5052DA #DAD850
analogous
#5097DA #5052DA #9350DA
triadic
#5052DA #DA5052 #52DA50
tetradic
#5052DA #DA5097 #DAD850 #50DA93
square
#5052DA #DA5097 #DAD850 #50DA93
split-complementary
#5052DA #DA9350 #97DA50
monochromatic
#1F2091 #292CC3 #5052DA #8384E5 #B5B6EF

Accessibility & contrast

On white

5.90
#5052DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5052DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5052DA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5052DA#FFFFFF#000000##FFFFFF
##5052DA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5052da;
/* rgb */ color: rgb(80, 82, 218);
/* oklch */ color: oklch(52.0% 0.203 276.1);
Tailwind
colors: {
  custom: {
    50: '#9083e6',
    500: '#5052da',
    950: '#000000',
  },
}
SCSS
$custom: #5052da;
$custom-light: #9083e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5052da",
  "rgb": {
    "r": 80,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 239.13,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.20279,
    "h": 276.1
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#5052DA
secondary
#DEDDA8
accent
#E640E8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5052DA

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

Preview Lab → · Contrast checker → · Palette generator →

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