#4D46C7#4D46C7

#4D46C7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.193 H 278.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4D46C7
RGBrgb(77, 70, 199)
HSLhsl(243, 54%, 53%)
HSVhsv(243, 65%, 78%)
CMYKcmyk(61.3%, 64.8%, 0%, 22%)
CIE-LABlab(37.99, 40.80, -66.34)
CIE-LCHlch(37.99, 77.89, 301.59°)
OKLaboklab(48.24% 0.0293 -0.1911)
OKLCHoklch(48.24% 0.193 278.7)
XYZxyz(15.5562, 10.0804, 55.1477)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46C7 #C0C746
analogous
#467FC7 #4D46C7 #8E46C7
triadic
#4D46C7 #C74D46 #46C74D
tetradic
#4D46C7 #C7467F #C0C746 #46C78E
square
#4D46C7 #C7467F #C0C746 #46C78E
split-complementary
#4D46C7 #C78E46 #7FC746
monochromatic
#262271 #3630A0 #4D46C7 #7A75D5 #A7A4E3

Accessibility & contrast

On white

6.96
#4D46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4D46C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46C7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46C7#FFFFFF#000000##FFFFFF
##4D46C71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d46c7;
/* rgb */ color: rgb(77, 70, 199);
/* oklch */ color: oklch(48.2% 0.193 278.7);
Tailwind
colors: {
  custom: {
    50: '#8c7ad9',
    500: '#4d46c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d46c7;
$custom-light: #8c7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46c7",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 243.256,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.19333,
    "h": 278.7
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#4D46C7
secondary
#CDD098
accent
#DD4BD5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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