#5043DC#5043DC

#5043DC is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.222 H 278.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5043DC
RGBrgb(80, 67, 220)
HSLhsl(245, 69%, 56%)
HSVhsv(245, 70%, 86%)
CMYKcmyk(63.6%, 69.5%, 0%, 13.7%)
CIE-LABlab(39.39, 49.61, -76.16)
CIE-LCHlch(39.39, 90.89, 303.08°)
OKLaboklab(49.87% 0.0326 -0.2198)
OKLCHoklch(49.87% 0.222 278.4)
XYZxyz(18.2295, 10.8856, 68.8367)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5043DC #CFDC43
analogous
#4383DC #5043DC #9D43DC
triadic
#5043DC #DC5043 #43DC50
tetradic
#5043DC #DC4383 #CFDC43 #43DC9D
square
#5043DC #DC4383 #CFDC43 #43DC9D
split-complementary
#5043DC #DC9D43 #83DC43
monochromatic
#231A8B #3123BE #5043DC #8077E6 #B0AAEF

Accessibility & contrast

On white

6.61
#5043DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5043DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5043DC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5043DC#FFFFFF#000000##FFFFFF
##5043DC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0056D9
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5043dc;
/* rgb */ color: rgb(80, 67, 220);
/* oklch */ color: oklch(49.9% 0.222 278.4);
Tailwind
colors: {
  custom: {
    50: '#9179e8',
    500: '#5043dc',
    950: '#000000',
  },
}
SCSS
$custom: #5043dc;
$custom-light: #9179e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5043dc",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 245.098,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.22217,
    "h": 278.4
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#5043DC
secondary
#D8DD9E
accent
#EB3CDD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5043DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5043DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva