#4D46E2#4D46E2

#4D46E2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.227 H 276.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4D46E2
RGBrgb(77, 70, 226)
HSLhsl(243, 73%, 58%)
HSVhsv(243, 69%, 89%)
CMYKcmyk(65.9%, 69%, 0%, 11.4%)
CIE-LABlab(40.32, 49.44, -78.05)
CIE-LCHlch(40.32, 92.39, 302.35°)
OKLaboklab(50.65% 0.0259 -0.2254)
OKLCHoklch(50.65% 0.227 276.6)
XYZxyz(18.9737, 11.4474, 73.1464)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46E2 #DBE246
analogous
#468DE2 #4D46E2 #9B46E2
triadic
#4D46E2 #E24D46 #46E24D
tetradic
#4D46E2 #E2468D #DBE246 #46E29B
square
#4D46E2 #E2468D #DBE246 #46E29B
split-complementary
#4D46E2 #E29B46 #8DE246
monochromatic
#1D1896 #2720CB #4D46E2 #807BEA #B3B0F3

Accessibility & contrast

On white

6.38
#4D46E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4D46E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46E2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46E2#FFFFFF#000000##FFFFFF
##4D46E21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d46e2;
/* rgb */ color: rgb(77, 70, 226);
/* oklch */ color: oklch(50.6% 0.227 276.6);
Tailwind
colors: {
  custom: {
    50: '#917bec',
    500: '#4d46e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d46e2;
$custom-light: #917bec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46e2",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 242.692,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.22687,
    "h": 276.6
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#4D46E2
secondary
#DEE1A3
accent
#F038E7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D46E2

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

Preview Lab → · Contrast checker → · Palette generator →

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