#4D37C2#4D37C2

#4D37C2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.204 H 281.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4D37C2
RGBrgb(77, 55, 194)
HSLhsl(249, 56%, 49%)
HSVhsv(249, 72%, 76%)
CMYKcmyk(60.3%, 71.6%, 0%, 23.9%)
CIE-LABlab(34.40, 47.81, -69.29)
CIE-LCHlch(34.40, 84.18, 304.60°)
OKLaboklab(45.53% 0.0418 -0.1997)
OKLCHoklch(45.53% 0.204 281.8)
XYZxyz(14.1613, 8.2042, 51.8658)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37C2 #ACC237
analogous
#3767C2 #4D37C2 #9337C2
triadic
#4D37C2 #C24D37 #37C24D
tetradic
#4D37C2 #C23767 #ACC237 #37C293
square
#4D37C2 #C23767 #ACC237 #37C293
split-complementary
#4D37C2 #C29337 #67C237
monochromatic
#271C63 #3A2992 #4D37C2 #7563D3 #9F93E0

Accessibility & contrast

On white

7.95
#4D37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D37C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37C2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37C2#FFFFFF#000000##FFFFFF
##4D37C21.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d37c2;
/* rgb */ color: rgb(77, 55, 194);
/* oklch */ color: oklch(45.5% 0.204 281.8);
Tailwind
colors: {
  custom: {
    50: '#8c70d6',
    500: '#4d37c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d37c2;
$custom-light: #8c70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37c2",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 249.496,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.20406,
    "h": 281.8
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#4D37C2
secondary
#C1CB89
accent
#DF49C7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4D37C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4D37C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva