#4D37D7#4D37D7

#4D37D7 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.5% C 0.229 H 279.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4D37D7
RGBrgb(77, 55, 215)
HSLhsl(248, 67%, 53%)
HSVhsv(248, 74%, 84%)
CMYKcmyk(64.2%, 74.4%, 0%, 15.7%)
CIE-LABlab(36.40, 54.14, -78.22)
CIE-LCHlch(36.40, 95.13, 304.69°)
OKLaboklab(47.54% 0.0373 -0.2258)
OKLCHoklch(47.54% 0.229 279.4)
XYZxyz(16.6886, 9.2151, 65.1760)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37D7 #C1D737
analogous
#3771D7 #4D37D7 #9D37D7
triadic
#4D37D7 #D74D37 #37D74D
tetradic
#4D37D7 #D73771 #C1D737 #37D79D
square
#4D37D7 #D73771 #C1D737 #37D79D
split-complementary
#4D37D7 #D79D37 #71D737
monochromatic
#26197B #3623AE #4D37D7 #7A6AE1 #A89DEB

Accessibility & contrast

On white

7.39
#4D37D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4D37D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37D7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37D7#FFFFFF#000000##FFFFFF
##4D37D71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006585
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d37d7;
/* rgb */ color: rgb(77, 55, 215);
/* oklch */ color: oklch(47.5% 0.229 279.4);
Tailwind
colors: {
  custom: {
    50: '#9071e5',
    500: '#4d37d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d37d7;
$custom-light: #9071e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37d7",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 248.25,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.22887,
    "h": 279.4
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#4D37D7
secondary
#CED792
accent
#EA3ED2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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