#4D46D1#4D46D1

#4D46D1 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.1% C 0.206 H 277.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4D46D1
RGBrgb(77, 70, 209)
HSLhsl(243, 60%, 55%)
HSVhsv(243, 67%, 82%)
CMYKcmyk(63.2%, 66.5%, 0%, 18%)
CIE-LABlab(38.83, 44.02, -70.76)
CIE-LCHlch(38.83, 83.33, 301.89°)
OKLaboklab(49.11% 0.0282 -0.204)
OKLCHoklch(49.11% 0.206 277.9)
XYZxyz(16.7556, 10.5602, 61.4646)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46D1 #CAD146
analogous
#4684D1 #4D46D1 #9346D1
triadic
#4D46D1 #D14D46 #46D14D
tetradic
#4D46D1 #D14684 #CAD146 #46D193
square
#4D46D1 #D14684 #CAD146 #46D193
split-complementary
#4D46D1 #D19346 #84D146
monochromatic
#241F7D #322BAE #4D46D1 #7C77DD #ABA8E9

Accessibility & contrast

On white

6.75
#4D46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46D1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46D1#FFFFFF#000000##FFFFFF
##4D46D11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d46d1;
/* rgb */ color: rgb(77, 70, 209);
/* oklch */ color: oklch(49.1% 0.206 277.9);
Tailwind
colors: {
  custom: {
    50: '#8e7ae0',
    500: '#4d46d1',
    950: '#000000',
  },
}
SCSS
$custom: #4d46d1;
$custom-light: #8e7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46d1",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 243.022,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.20598,
    "h": 277.9
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#4D46D1
secondary
#D4D79C
accent
#E344DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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