#5037D2#5037D2

#5037D2 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.3% C 0.223 H 281.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5037D2
RGBrgb(80, 55, 210)
HSLhsl(250, 63%, 52%)
HSVhsv(250, 74%, 82%)
CMYKcmyk(61.9%, 73.8%, 0%, 17.6%)
CIE-LABlab(36.16, 53.00, -75.72)
CIE-LCHlch(36.16, 92.42, 304.99°)
OKLaboklab(47.29% 0.0426 -0.2184)
OKLCHoklch(47.29% 0.223 281)
XYZxyz(16.3036, 9.0898, 61.8556)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5037D2 #B9D237
analogous
#376CD2 #5037D2 #9D37D2
triadic
#5037D2 #D25037 #37D250
tetradic
#5037D2 #D2376C #B9D237 #37D29D
square
#5037D2 #D2376C #B9D237 #37D29D
split-complementary
#5037D2 #D29D37 #6CD237
monochromatic
#291A74 #3A25A6 #5037D2 #7C69DD #A79BE8

Accessibility & contrast

On white

7.45
#5037D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5037D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5037D2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5037D2#FFFFFF#000000##FFFFFF
##5037D21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD6
Deuteranopia (green-blind)
#004FCF
Tritanopia (blue-blind)
#006382
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5037d2;
/* rgb */ color: rgb(80, 55, 210);
/* oklch */ color: oklch(47.3% 0.223 281.0);
Tailwind
colors: {
  custom: {
    50: '#9071e1',
    500: '#5037d2',
    950: '#000000',
  },
}
SCSS
$custom: #5037d2;
$custom-light: #9071e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5037d2",
  "rgb": {
    "r": 80,
    "g": 55,
    "b": 210
  },
  "hsl": {
    "h": 249.677,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47289,
    "c": 0.22253,
    "h": 281
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#5037D2
secondary
#C9D490
accent
#E641CC
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #5037D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5037D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva