#5043E4#5043E4

#5043E4 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.6% C 0.232 H 277.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5043E4
RGBrgb(80, 67, 228)
HSLhsl(245, 75%, 58%)
HSVhsv(245, 71%, 89%)
CMYKcmyk(64.9%, 70.6%, 0%, 10.6%)
CIE-LABlab(40.11, 52.09, -79.53)
CIE-LCHlch(40.11, 95.07, 303.22°)
OKLaboklab(50.61% 0.0312 -0.2296)
OKLCHoklch(50.61% 0.232 277.7)
XYZxyz(19.3145, 11.3196, 74.5508)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5043E4 #D7E443
analogous
#4386E4 #5043E4 #A143E4
triadic
#5043E4 #E45043 #43E450
tetradic
#5043E4 #E44386 #D7E443 #43E4A1
square
#5043E4 #E44386 #D7E443 #43E4A1
split-complementary
#5043E4 #E4A143 #86E443
monochromatic
#201697 #2B1DCC #5043E4 #8279EC #B4AEF3

Accessibility & contrast

On white

6.43
#5043E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5043E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5043E4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5043E4#FFFFFF#000000##FFFFFF
##5043E41.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E9
Deuteranopia (green-blind)
#0058E1
Tritanopia (blue-blind)
#006F8F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5043e4;
/* rgb */ color: rgb(80, 67, 228);
/* oklch */ color: oklch(50.6% 0.232 277.7);
Tailwind
colors: {
  custom: {
    50: '#9379ee',
    500: '#5043e4',
    950: '#000000',
  },
}
SCSS
$custom: #5043e4;
$custom-light: #9379ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5043e4",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 228
  },
  "hsl": {
    "h": 244.845,
    "s": 74.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.23174,
    "h": 277.7
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#5043E4
secondary
#DCE2A1
accent
#F236E2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #5043E4

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

Preview Lab → · Contrast checker → · Palette generator →

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