#5041CE#5041CE

#5041CE is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.207 H 280.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5041CE
RGBrgb(80, 65, 206)
HSLhsl(246, 59%, 53%)
HSVhsv(246, 68%, 81%)
CMYKcmyk(61.2%, 68.4%, 0%, 19.2%)
CIE-LABlab(37.74, 46.37, -70.81)
CIE-LCHlch(37.74, 84.64, 303.22°)
OKLaboklab(48.3% 0.0362 -0.2041)
OKLCHoklch(48.3% 0.207 280.1)
XYZxyz(16.3356, 9.9411, 59.4385)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041CE #BFCE41
analogous
#4178CE #5041CE #9641CE
triadic
#5041CE #CE5041 #41CE50
tetradic
#5041CE #CE4178 #BFCE41 #41CE96
square
#5041CE #CE4178 #BFCE41 #41CE96
split-complementary
#5041CE #CE9641 #78CE41
monochromatic
#281E76 #382BA7 #5041CE #7D72DB #AAA2E7

Accessibility & contrast

On white

7.03
#5041CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5041CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5041CE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041CE#FFFFFF#000000##FFFFFF
##5041CE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5041ce;
/* rgb */ color: rgb(80, 65, 206);
/* oklch */ color: oklch(48.3% 0.207 280.1);
Tailwind
colors: {
  custom: {
    50: '#8f77de',
    500: '#5041ce',
    950: '#000000',
  },
}
SCSS
$custom: #5041ce;
$custom-light: #8f77de;
$custom-dark: #000000;
JSON
{
  "hex": "#5041ce",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 246.383,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.20729,
    "h": 280.1
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#5041CE
secondary
#CDD497
accent
#E246D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5041CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5041CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva