#4D3ED7#4D3ED7

#4D3ED7 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.5% C 0.222 H 278.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4D3ED7
RGBrgb(77, 62, 215)
HSLhsl(246, 66%, 54%)
HSVhsv(246, 71%, 84%)
CMYKcmyk(64.2%, 71.2%, 0%, 15.7%)
CIE-LABlab(37.71, 50.44, -76.05)
CIE-LCHlch(37.71, 91.26, 303.56°)
OKLaboklab(48.48% 0.033 -0.2195)
OKLCHoklch(48.48% 0.222 278.5)
XYZxyz(17.0450, 9.9279, 65.2949)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ED7 #C8D73E
analogous
#3E7CD7 #4D3ED7 #993ED7
triadic
#4D3ED7 #D74D3E #3ED74D
tetradic
#4D3ED7 #D73E7C #C8D73E #3ED799
square
#4D3ED7 #D73E7C #C8D73E #3ED799
split-complementary
#4D3ED7 #D7993E #7CD73E
monochromatic
#241B80 #3325B3 #4D3ED7 #7C71E2 #ABA3EC

Accessibility & contrast

On white

7.03
#4D3ED7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4D3ED7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ED7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ED7#FFFFFF#000000##FFFFFF
##4D3ED71.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDC
Deuteranopia (green-blind)
#0052D4
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d3ed7;
/* rgb */ color: rgb(77, 62, 215);
/* oklch */ color: oklch(48.5% 0.222 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f75e5',
    500: '#4d3ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ed7;
$custom-light: #8f75e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ed7",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 245.882,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.22197,
    "h": 278.5
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#4D3ED7
secondary
#D2D998
accent
#E93FD8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D3ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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