#5045DB#5045DB

#5045DB is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.219 H 278.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5045DB
RGBrgb(80, 69, 219)
HSLhsl(244, 68%, 56%)
HSVhsv(244, 68%, 86%)
CMYKcmyk(63.5%, 68.5%, 0%, 14.1%)
CIE-LABlab(39.71, 48.18, -75.06)
CIE-LCHlch(39.71, 89.19, 302.69°)
OKLaboklab(50.07% 0.0313 -0.2166)
OKLCHoklch(50.07% 0.219 278.2)
XYZxyz(18.2185, 11.0747, 68.1817)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5045DB #D0DB45
analogous
#4585DB #5045DB #9B45DB
triadic
#5045DB #DB5045 #45DB50
tetradic
#5045DB #DB4585 #D0DB45 #45DB9B
square
#5045DB #DB4585 #D0DB45 #45DB9B
split-complementary
#5045DB #DB9B45 #85DB45
monochromatic
#231B8B #3025BE #5045DB #8078E5 #B0ACEF

Accessibility & contrast

On white

6.53
#5045DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5045DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5045DB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5045DB#FFFFFF#000000##FFFFFF
##5045DB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5045db;
/* rgb */ color: rgb(80, 69, 219);
/* oklch */ color: oklch(50.1% 0.219 278.2);
Tailwind
colors: {
  custom: {
    50: '#917ae7',
    500: '#5045db',
    950: '#000000',
  },
}
SCSS
$custom: #5045db;
$custom-light: #917ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5045db",
  "rgb": {
    "r": 80,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 244.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.21882,
    "h": 278.2
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#5045DB
secondary
#D8DD9F
accent
#EA3DDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5045DB

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

Preview Lab → · Contrast checker → · Palette generator →

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