#5045DD#5045DD

#5045DD is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.221 H 278.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5045DD
RGBrgb(80, 69, 221)
HSLhsl(244, 69%, 57%)
HSVhsv(244, 69%, 87%)
CMYKcmyk(63.8%, 68.8%, 0%, 13.3%)
CIE-LABlab(39.88, 48.80, -75.92)
CIE-LCHlch(39.88, 90.25, 302.74°)
OKLaboklab(50.25% 0.031 -0.2191)
OKLCHoklch(50.25% 0.221 278.1)
XYZxyz(18.4833, 11.1807, 69.5766)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5045DD #D2DD45
analogous
#4586DD #5045DD #9C45DD
triadic
#5045DD #DD5045 #45DD50
tetradic
#5045DD #DD4586 #D2DD45 #45DD9C
square
#5045DD #DD4586 #D2DD45 #45DD9C
split-complementary
#5045DD #DD9C45 #86DD45
monochromatic
#221A8E #2F23C1 #5045DD #8179E6 #B1ACF0

Accessibility & contrast

On white

6.49
#5045DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5045DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5045DD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5045DD#FFFFFF#000000##FFFFFF
##5045DD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5045dd;
/* rgb */ color: rgb(80, 69, 221);
/* oklch */ color: oklch(50.2% 0.221 278.1);
Tailwind
colors: {
  custom: {
    50: '#917ae9',
    500: '#5045dd',
    950: '#000000',
  },
}
SCSS
$custom: #5045dd;
$custom-light: #917ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5045dd",
  "rgb": {
    "r": 80,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 244.342,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.22125,
    "h": 278.1
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#5045DD
secondary
#D9DEA0
accent
#EC3CDF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5045DD

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

Preview Lab → · Contrast checker → · Palette generator →

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