#4D46E4#4D46E4

#4D46E4 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.229 H 276.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4D46E4
RGBrgb(77, 70, 228)
HSLhsl(243, 75%, 58%)
HSVhsv(243, 69%, 89%)
CMYKcmyk(66.2%, 69.3%, 0%, 10.6%)
CIE-LABlab(40.50, 50.07, -78.89)
CIE-LCHlch(40.50, 93.44, 302.40°)
OKLaboklab(50.83% 0.0256 -0.2278)
OKLCHoklch(50.83% 0.229 276.4)
XYZxyz(19.2497, 11.5578, 74.6002)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46E4 #DDE446
analogous
#468EE4 #4D46E4 #9C46E4
triadic
#4D46E4 #E44D46 #46E44D
tetradic
#4D46E4 #E4468E #DDE446 #46E49C
square
#4D46E4 #E4468E #DDE446 #46E49C
split-complementary
#4D46E4 #E49C46 #8EE446
monochromatic
#1C1699 #261ECF #4D46E4 #807BEC #B4B1F4

Accessibility & contrast

On white

6.34
#4D46E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D46E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46E4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46E4#FFFFFF#000000##FFFFFF
##4D46E41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E9
Deuteranopia (green-blind)
#0059E1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d46e4;
/* rgb */ color: rgb(77, 70, 228);
/* oklch */ color: oklch(50.8% 0.229 276.4);
Tailwind
colors: {
  custom: {
    50: '#917bee',
    500: '#4d46e4',
    950: '#000000',
  },
}
SCSS
$custom: #4d46e4;
$custom-light: #917bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46e4",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 242.658,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.22928,
    "h": 276.4
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#4D46E4
secondary
#DFE2A4
accent
#F137E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4D46E4

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

Preview Lab → · Contrast checker → · Palette generator →

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