#4D46CE#4D46CE

#4D46CE is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.202 H 278.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4D46CE
RGBrgb(77, 70, 206)
HSLhsl(243, 58%, 54%)
HSVhsv(243, 66%, 81%)
CMYKcmyk(62.6%, 66%, 0%, 19.2%)
CIE-LABlab(38.57, 43.06, -69.44)
CIE-LCHlch(38.57, 81.71, 301.80°)
OKLaboklab(48.85% 0.0285 -0.2002)
OKLCHoklch(48.85% 0.202 278.1)
XYZxyz(16.3877, 10.4130, 59.5269)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46CE #C7CE46
analogous
#4683CE #4D46CE #9146CE
triadic
#4D46CE #CE4D46 #46CE4D
tetradic
#4D46CE #CE4683 #C7CE46 #46CE91
square
#4D46CE #CE4683 #C7CE46 #46CE91
split-complementary
#4D46CE #CE9146 #83CE46
monochromatic
#252079 #332DAA #4D46CE #7C76DB #AAA7E8

Accessibility & contrast

On white

6.81
#4D46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4D46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46CE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46CE#FFFFFF#000000##FFFFFF
##4D46CE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d46ce;
/* rgb */ color: rgb(77, 70, 206);
/* oklch */ color: oklch(48.8% 0.202 278.1);
Tailwind
colors: {
  custom: {
    50: '#8d7ade',
    500: '#4d46ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d46ce;
$custom-light: #8d7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46ce",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 243.088,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.20221,
    "h": 278.1
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#4D46CE
secondary
#D2D59B
accent
#E146D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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