#5043CD#5043CD

#5043CD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.204 H 279.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5043CD
RGBrgb(80, 67, 205)
HSLhsl(246, 58%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(61%, 67.3%, 0%, 19.6%)
CIE-LABlab(38.07, 44.92, -69.68)
CIE-LCHlch(38.07, 82.91, 302.81°)
OKLaboklab(48.52% 0.0348 -0.2008)
OKLCHoklch(48.52% 0.204 279.8)
XYZxyz(16.3314, 10.1264, 58.8397)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5043CD #C0CD43
analogous
#437BCD #5043CD #9543CD
triadic
#5043CD #CD5043 #43CD50
tetradic
#5043CD #CD437B #C0CD43 #43CD95
square
#5043CD #CD437B #C0CD43 #43CD95
split-complementary
#5043CD #CD9543 #7BCD43
monochromatic
#281F76 #382CA7 #5043CD #7D73DA #AAA4E7

Accessibility & contrast

On white

6.94
#5043CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5043CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5043CD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5043CD#FFFFFF#000000##FFFFFF
##5043CD1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5043cd;
/* rgb */ color: rgb(80, 67, 205);
/* oklch */ color: oklch(48.5% 0.204 279.8);
Tailwind
colors: {
  custom: {
    50: '#8f78dd',
    500: '#5043cd',
    950: '#000000',
  },
}
SCSS
$custom: #5043cd;
$custom-light: #8f78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5043cd",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 245.652,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.20381,
    "h": 279.8
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#5043CD
secondary
#CED498
accent
#E147D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5043CD

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

Preview Lab → · Contrast checker → · Palette generator →

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