#5041CD#5041CD

#5041CD is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.206 H 280.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5041CD
RGBrgb(80, 65, 205)
HSLhsl(246, 58%, 53%)
HSVhsv(246, 68%, 80%)
CMYKcmyk(61%, 68.3%, 0%, 19.6%)
CIE-LABlab(37.65, 46.06, -70.37)
CIE-LCHlch(37.65, 84.10, 303.21°)
OKLaboklab(48.21% 0.0364 -0.2028)
OKLCHoklch(48.21% 0.206 280.2)
XYZxyz(16.2145, 9.8927, 58.8008)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041CD #BECD41
analogous
#4178CD #5041CD #9641CD
triadic
#5041CD #CD5041 #41CD50
tetradic
#5041CD #CD4178 #BECD41 #41CD96
square
#5041CD #CD4178 #BECD41 #41CD96
split-complementary
#5041CD #CD9641 #78CD41
monochromatic
#281F75 #392CA5 #5041CD #7D71DA #A9A2E6

Accessibility & contrast

On white

7.05
#5041CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5041CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5041CD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041CD#FFFFFF#000000##FFFFFF
##5041CD1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5041cd;
/* rgb */ color: rgb(80, 65, 205);
/* oklch */ color: oklch(48.2% 0.206 280.2);
Tailwind
colors: {
  custom: {
    50: '#8f77dd',
    500: '#5041cd',
    950: '#000000',
  },
}
SCSS
$custom: #5041cd;
$custom-light: #8f77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5041cd",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 246.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.20606,
    "h": 280.2
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#5041CD
secondary
#CDD397
accent
#E246D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5041CD

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

Preview Lab → · Contrast checker → · Palette generator →

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