#4D3EC1#4D3EC1

#4D3EC1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.5% C 0.195 H 280.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4D3EC1
RGBrgb(77, 62, 193)
HSLhsl(247, 51%, 50%)
HSVhsv(247, 68%, 76%)
CMYKcmyk(60.1%, 67.9%, 0%, 24.3%)
CIE-LABlab(35.74, 43.58, -66.52)
CIE-LCHlch(35.74, 79.52, 303.23°)
OKLaboklab(46.46% 0.0366 -0.1916)
OKLCHoklch(46.46% 0.195 280.8)
XYZxyz(14.4058, 8.8723, 51.3951)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EC1 #B2C13E
analogous
#3E71C1 #4D3EC1 #8E3EC1
triadic
#4D3EC1 #C14D3E #3EC14D
tetradic
#4D3EC1 #C13E71 #B2C13E #3EC18E
square
#4D3EC1 #C13E71 #B2C13E #3EC18E
split-complementary
#4D3EC1 #C18E3E #71C13E
monochromatic
#282064 #3B2F93 #4D3EC1 #786CD0 #A29BDF

Accessibility & contrast

On white

7.57
#4D3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4D3EC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EC1
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EC1#FFFFFF#000000##FFFFFF
##4D3EC11.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d3ec1;
/* rgb */ color: rgb(77, 62, 193);
/* oklch */ color: oklch(46.5% 0.195 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b75d5',
    500: '#4d3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ec1;
$custom-light: #8b75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ec1",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 246.87,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.19509,
    "h": 280.8
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#4D3EC1
secondary
#C4CB90
accent
#DB4DCB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4D3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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