#4D49E1#4D49E1

#4D49E1 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.222 H 276.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4D49E1
RGBrgb(77, 73, 225)
HSLhsl(242, 72%, 58%)
HSVhsv(242, 68%, 88%)
CMYKcmyk(65.8%, 67.6%, 0%, 11.8%)
CIE-LABlab(40.86, 47.42, -76.60)
CIE-LCHlch(40.86, 90.09, 301.76°)
OKLaboklab(51.01% 0.024 -0.2211)
OKLCHoklch(51.01% 0.222 276.2)
XYZxyz(19.0293, 11.7775, 72.4900)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D49E1 #DDE149
analogous
#4991E1 #4D49E1 #9949E1
triadic
#4D49E1 #E14D49 #49E14D
tetradic
#4D49E1 #E14991 #DDE149 #49E199
square
#4D49E1 #E14991 #DDE149 #49E199
split-complementary
#4D49E1 #E19949 #91E149
monochromatic
#1C1997 #2622CB #4D49E1 #807EEA #B4B2F2

Accessibility & contrast

On white

6.26
#4D49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4D49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D49E1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D49E1#FFFFFF#000000##FFFFFF
##4D49E11.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d49e1;
/* rgb */ color: rgb(77, 73, 225);
/* oklch */ color: oklch(51.0% 0.222 276.2);
Tailwind
colors: {
  custom: {
    50: '#907dec',
    500: '#4d49e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d49e1;
$custom-light: #907dec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d49e1",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 241.579,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.22245,
    "h": 276.2
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#4D49E1
secondary
#DFE1A5
accent
#EE39EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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