#5038DD#5038DD

#5038DD is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.5% C 0.234 H 279.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5038DD
RGBrgb(80, 56, 221)
HSLhsl(249, 71%, 54%)
HSVhsv(249, 75%, 87%)
CMYKcmyk(63.8%, 74.7%, 0%, 13.3%)
CIE-LABlab(37.40, 55.75, -80.01)
CIE-LCHlch(37.40, 97.51, 304.87°)
OKLaboklab(48.48% 0.0394 -0.231)
OKLCHoklch(48.48% 0.234 279.7)
XYZxyz(17.7694, 9.7529, 69.3387)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5038DD #C5DD38
analogous
#3873DD #5038DD #A238DD
triadic
#5038DD #DD5038 #38DD50
tetradic
#5038DD #DD3873 #C5DD38 #38DDA2
square
#5038DD #DD3873 #C5DD38 #38DDA2
split-complementary
#5038DD #DDA238 #73DD38
monochromatic
#261784 #361FB8 #5038DD #7E6CE6 #ACA1EF

Accessibility & contrast

On white

7.12
#5038DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5038DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5038DD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5038DD#FFFFFF#000000##FFFFFF
##5038DD1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#0052DA
Tritanopia (blue-blind)
#006888
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5038dd;
/* rgb */ color: rgb(80, 56, 221);
/* oklch */ color: oklch(48.5% 0.234 279.7);
Tailwind
colors: {
  custom: {
    50: '#9272e9',
    500: '#5038dd',
    950: '#000000',
  },
}
SCSS
$custom: #5038dd;
$custom-light: #9272e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5038dd",
  "rgb": {
    "r": 80,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 248.727,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4848,
    "c": 0.2343,
    "h": 279.7
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#5038DD
secondary
#D1DB95
accent
#EE3AD3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5038DD

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

Preview Lab → · Contrast checker → · Palette generator →

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