#5043CB#5043CB

#5043CB is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.201 H 280.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5043CB
RGBrgb(80, 67, 203)
HSLhsl(246, 57%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(60.6%, 67%, 0%, 20.4%)
CIE-LABlab(37.90, 44.29, -68.80)
CIE-LCHlch(37.90, 81.83, 302.77°)
OKLaboklab(48.34% 0.0351 -0.1982)
OKLCHoklch(48.34% 0.201 280)
XYZxyz(16.0915, 10.0304, 57.5764)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5043CB #BECB43
analogous
#437ACB #5043CB #9443CB
triadic
#5043CB #CB5043 #43CB50
tetradic
#5043CB #CB437A #BECB43 #43CB94
square
#5043CB #CB437A #BECB43 #43CB94
split-complementary
#5043CB #CB9443 #7ACB43
monochromatic
#282074 #392DA4 #5043CB #7D73D8 #A9A3E6

Accessibility & contrast

On white

6.99
#5043CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5043CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5043CB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5043CB#FFFFFF#000000##FFFFFF
##5043CB1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5043cb;
/* rgb */ color: rgb(80, 67, 203);
/* oklch */ color: oklch(48.3% 0.201 280.0);
Tailwind
colors: {
  custom: {
    50: '#8e78dc',
    500: '#5043cb',
    950: '#000000',
  },
}
SCSS
$custom: #5043cb;
$custom-light: #8e78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5043cb",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 245.735,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.20132,
    "h": 280
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#5043CB
secondary
#CDD298
accent
#E048D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5043CB

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

Preview Lab → · Contrast checker → · Palette generator →

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