#5045DE#5045DE

#5045DE is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.222 H 278.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5045DE
RGBrgb(80, 69, 222)
HSLhsl(244, 70%, 57%)
HSVhsv(244, 69%, 87%)
CMYKcmyk(64%, 68.9%, 0%, 12.9%)
CIE-LABlab(39.97, 49.12, -76.34)
CIE-LCHlch(39.97, 90.78, 302.76°)
OKLaboklab(50.34% 0.0309 -0.2203)
OKLCHoklch(50.34% 0.222 278)
XYZxyz(18.6169, 11.2341, 70.2804)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5045DE #D3DE45
analogous
#4586DE #5045DE #9D45DE
triadic
#5045DE #DE5045 #45DE50
tetradic
#5045DE #DE4586 #D3DE45 #45DE9D
square
#5045DE #DE4586 #D3DE45 #45DE9D
split-complementary
#5045DE #DE9D45 #86DE45
monochromatic
#22198F #2E23C3 #5045DE #8179E7 #B2ADF0

Accessibility & contrast

On white

6.47
#5045DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5045DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5045DE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5045DE#FFFFFF#000000##FFFFFF
##5045DE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5045de;
/* rgb */ color: rgb(80, 69, 222);
/* oklch */ color: oklch(50.3% 0.222 278.0);
Tailwind
colors: {
  custom: {
    50: '#917aea',
    500: '#5045de',
    950: '#000000',
  },
}
SCSS
$custom: #5045de;
$custom-light: #917aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5045de",
  "rgb": {
    "r": 80,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 244.314,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.22247,
    "h": 278
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#5045DE
secondary
#DADFA0
accent
#ED3BE0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5045DE

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

Preview Lab → · Contrast checker → · Palette generator →

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