#4D46E9#4D46E9

#4D46E9 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.3% C 0.235 H 276.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4D46E9
RGBrgb(77, 70, 233)
HSLhsl(243, 79%, 59%)
HSVhsv(243, 70%, 91%)
CMYKcmyk(67%, 70%, 0%, 8.6%)
CIE-LABlab(40.96, 51.65, -80.98)
CIE-LCHlch(40.96, 96.05, 302.53°)
OKLaboklab(51.3% 0.0248 -0.234)
OKLCHoklch(51.3% 0.235 276.1)
XYZxyz(19.9539, 11.8395, 78.3087)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46E9 #E2E946
analogous
#4690E9 #4D46E9 #9F46E9
triadic
#4D46E9 #E94D46 #46E94D
tetradic
#4D46E9 #E94690 #E2E946 #46E99F
square
#4D46E9 #E94690 #E2E946 #46E99F
split-complementary
#4D46E9 #E99F46 #90E946
monochromatic
#1913A1 #221AD8 #4D46E9 #827DF0 #B6B3F6

Accessibility & contrast

On white

6.23
#4D46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4D46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46E9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46E9#FFFFFF#000000##FFFFFF
##4D46E91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EE
Deuteranopia (green-blind)
#0059E6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d46e9;
/* rgb */ color: rgb(77, 70, 233);
/* oklch */ color: oklch(51.3% 0.235 276.1);
Tailwind
colors: {
  custom: {
    50: '#927bf1',
    500: '#4d46e9',
    950: '#000000',
  },
}
SCSS
$custom: #4d46e9;
$custom-light: #927bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46e9",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 242.577,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.23527,
    "h": 276.1
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#4D46E9
secondary
#E2E5A6
accent
#F533ED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4D46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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