#5041CB#5041CB

#5041CB is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.0% C 0.204 H 280.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5041CB
RGBrgb(80, 65, 203)
HSLhsl(247, 57%, 53%)
HSVhsv(247, 68%, 80%)
CMYKcmyk(60.6%, 68%, 0%, 20.4%)
CIE-LABlab(37.48, 45.44, -69.50)
CIE-LCHlch(37.48, 83.03, 303.18°)
OKLaboklab(48.04% 0.0367 -0.2003)
OKLCHoklch(48.04% 0.204 280.4)
XYZxyz(15.9746, 9.7967, 57.5375)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041CB #BCCB41
analogous
#4177CB #5041CB #9541CB
triadic
#5041CB #CB5041 #41CB50
tetradic
#5041CB #CB4177 #BCCB41 #41CB95
square
#5041CB #CB4177 #BCCB41 #41CB95
split-complementary
#5041CB #CB9541 #77CB41
monochromatic
#281F72 #392CA2 #5041CB #7C71D8 #A9A1E5

Accessibility & contrast

On white

7.10
#5041CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5041CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5041CB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041CB#FFFFFF#000000##FFFFFF
##5041CB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5041cb;
/* rgb */ color: rgb(80, 65, 203);
/* oklch */ color: oklch(48.0% 0.204 280.4);
Tailwind
colors: {
  custom: {
    50: '#8e77dc',
    500: '#5041cb',
    950: '#000000',
  },
}
SCSS
$custom: #5041cb;
$custom-light: #8e77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5041cb",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 246.522,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.20359,
    "h": 280.4
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#5041CB
secondary
#CBD296
accent
#E048D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5041CB

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

Preview Lab → · Contrast checker → · Palette generator →

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