#5041DD#5041DD

#5041DD is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.7% C 0.225 H 278.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5041DD
RGBrgb(80, 65, 221)
HSLhsl(246, 70%, 56%)
HSVhsv(246, 71%, 87%)
CMYKcmyk(63.8%, 70.6%, 0%, 13.3%)
CIE-LABlab(39.08, 51.02, -77.24)
CIE-LCHlch(39.08, 92.57, 303.45°)
OKLaboklab(49.67% 0.0338 -0.2229)
OKLCHoklch(49.67% 0.225 278.6)
XYZxyz(18.2455, 10.7050, 69.4974)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041DD #CEDD41
analogous
#4180DD #5041DD #9E41DD
triadic
#5041DD #DD5041 #41DD50
tetradic
#5041DD #DD4180 #CEDD41 #41DD9E
square
#5041DD #DD4180 #CEDD41 #41DD9E
split-complementary
#5041DD #DD9E41 #80DD41
monochromatic
#24198B #3122BF #5041DD #8075E6 #B0A9F0

Accessibility & contrast

On white

6.68
#5041DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5041DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5041DD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041DD#FFFFFF#000000##FFFFFF
##5041DD1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0056DA
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5041dd;
/* rgb */ color: rgb(80, 65, 221);
/* oklch */ color: oklch(49.7% 0.225 278.6);
Tailwind
colors: {
  custom: {
    50: '#9278e9',
    500: '#5041dd',
    950: '#000000',
  },
}
SCSS
$custom: #5041dd;
$custom-light: #9278e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5041dd",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 245.769,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.22546,
    "h": 278.6
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#5041DD
secondary
#D7DD9D
accent
#EC3BDB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5041DD

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

Preview Lab → · Contrast checker → · Palette generator →

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