#5041CF#5041CF

#5041CF is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.209 H 280.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5041CF
RGBrgb(80, 65, 207)
HSLhsl(246, 60%, 53%)
HSVhsv(246, 69%, 81%)
CMYKcmyk(61.4%, 68.6%, 0%, 18.8%)
CIE-LABlab(37.82, 46.68, -71.24)
CIE-LCHlch(37.82, 85.17, 303.24°)
OKLaboklab(48.39% 0.0361 -0.2054)
OKLCHoklch(48.39% 0.209 280)
XYZxyz(16.4575, 9.9898, 60.0804)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041CF #C0CF41
analogous
#4179CF #5041CF #9741CF
triadic
#5041CF #CF5041 #41CF50
tetradic
#5041CF #CF4179 #C0CF41 #41CF97
square
#5041CF #CF4179 #C0CF41 #41CF97
split-complementary
#5041CF #CF9741 #79CF41
monochromatic
#281E77 #382BA8 #5041CF #7D72DB #AAA3E8

Accessibility & contrast

On white

7.00
#5041CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5041CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5041CF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041CF#FFFFFF#000000##FFFFFF
##5041CF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5041cf;
/* rgb */ color: rgb(80, 65, 207);
/* oklch */ color: oklch(48.4% 0.209 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f77df',
    500: '#5041cf',
    950: '#000000',
  },
}
SCSS
$custom: #5041cf;
$custom-light: #8f77df;
$custom-dark: #000000;
JSON
{
  "hex": "#5041cf",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 246.338,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.20853,
    "h": 280
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#5041CF
secondary
#CED497
accent
#E345D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5041CF

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

Preview Lab → · Contrast checker → · Palette generator →

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