#4D46D5#4D46D5

#4D46D5 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.211 H 277.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4D46D5
RGBrgb(77, 70, 213)
HSLhsl(243, 63%, 55%)
HSVhsv(243, 67%, 84%)
CMYKcmyk(63.8%, 67.1%, 0%, 16.5%)
CIE-LABlab(39.17, 45.30, -72.50)
CIE-LCHlch(39.17, 85.49, 302.00°)
OKLaboklab(49.47% 0.0277 -0.2091)
OKLCHoklch(49.47% 0.211 277.5)
XYZxyz(17.2571, 10.7608, 64.1055)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46D5 #CED546
analogous
#4686D5 #4D46D5 #9446D5
triadic
#4D46D5 #D54D46 #46D54D
tetradic
#4D46D5 #D54686 #CED546 #46D594
square
#4D46D5 #D54686 #CED546 #46D594
split-complementary
#4D46D5 #D59446 #86D546
monochromatic
#231E83 #3029B5 #4D46D5 #7D78E0 #ADAAEC

Accessibility & contrast

On white

6.66
#4D46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4D46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46D5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46D5#FFFFFF#000000##FFFFFF
##4D46D51.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d46d5;
/* rgb */ color: rgb(77, 70, 213);
/* oklch */ color: oklch(49.5% 0.211 277.5);
Tailwind
colors: {
  custom: {
    50: '#8e7ae3',
    500: '#4d46d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d46d5;
$custom-light: #8e7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46d5",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 242.937,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.21097,
    "h": 277.5
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#4D46D5
secondary
#D6D99E
accent
#E642DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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