#5037CF#5037CF

#5037CF is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.0% C 0.219 H 281.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5037CF
RGBrgb(80, 55, 207)
HSLhsl(250, 61%, 51%)
HSVhsv(250, 73%, 81%)
CMYKcmyk(61.4%, 73.4%, 0%, 18.8%)
CIE-LABlab(35.87, 52.11, -74.45)
CIE-LCHlch(35.87, 90.87, 304.99°)
OKLaboklab(47% 0.0432 -0.2147)
OKLCHoklch(47% 0.219 281.4)
XYZxyz(15.9334, 8.9417, 59.9057)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5037CF #B6CF37
analogous
#376ACF #5037CF #9C37CF
triadic
#5037CF #CF5037 #37CF50
tetradic
#5037CF #CF376A #B6CF37 #37CF9C
square
#5037CF #CF376A #B6CF37 #37CF9C
split-complementary
#5037CF #CF9C37 #6ACF37
monochromatic
#291B71 #3B27A2 #5037CF #7B68DB #A69AE7

Accessibility & contrast

On white

7.53
#5037CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5037CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5037CF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5037CF#FFFFFF#000000##FFFFFF
##5037CF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5037cf;
/* rgb */ color: rgb(80, 55, 207);
/* oklch */ color: oklch(47.0% 0.219 281.4);
Tailwind
colors: {
  custom: {
    50: '#9071df',
    500: '#5037cf',
    950: '#000000',
  },
}
SCSS
$custom: #5037cf;
$custom-light: #9071df;
$custom-dark: #000000;
JSON
{
  "hex": "#5037cf",
  "rgb": {
    "r": 80,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 249.868,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.21903,
    "h": 281.4
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#5037CF
secondary
#C7D28F
accent
#E443CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5037CF

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

Preview Lab → · Contrast checker → · Palette generator →

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