#5043DB#5043DB

#5043DB is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.221 H 278.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5043DB
RGBrgb(80, 67, 219)
HSLhsl(245, 68%, 56%)
HSVhsv(245, 69%, 86%)
CMYKcmyk(63.5%, 69.4%, 0%, 14.1%)
CIE-LABlab(39.30, 49.30, -75.73)
CIE-LCHlch(39.30, 90.36, 303.06°)
OKLaboklab(49.77% 0.0327 -0.2185)
OKLCHoklch(49.77% 0.221 278.5)
XYZxyz(18.0975, 10.8328, 68.1413)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5043DB #CEDB43
analogous
#4382DB #5043DB #9C43DB
triadic
#5043DB #DB5043 #43DB50
tetradic
#5043DB #DB4382 #CEDB43 #43DB9C
square
#5043DB #DB4382 #CEDB43 #43DB9C
split-complementary
#5043DB #DB9C43 #82DB43
monochromatic
#241A89 #3124BD #5043DB #8076E5 #B0AAEF

Accessibility & contrast

On white

6.63
#5043DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5043DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5043DB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5043DB#FFFFFF#000000##FFFFFF
##5043DB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0056D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5043db;
/* rgb */ color: rgb(80, 67, 219);
/* oklch */ color: oklch(49.8% 0.221 278.5);
Tailwind
colors: {
  custom: {
    50: '#9179e7',
    500: '#5043db',
    950: '#000000',
  },
}
SCSS
$custom: #5043db;
$custom-light: #9179e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5043db",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 245.132,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.22096,
    "h": 278.5
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#5043DB
secondary
#D7DC9E
accent
#EB3DDC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5043DB

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

Preview Lab → · Contrast checker → · Palette generator →

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