#4D46D2#4D46D2

#4D46D2 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.207 H 277.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4D46D2
RGBrgb(77, 70, 210)
HSLhsl(243, 61%, 55%)
HSVhsv(243, 67%, 82%)
CMYKcmyk(63.3%, 66.7%, 0%, 17.6%)
CIE-LABlab(38.92, 44.34, -71.19)
CIE-LCHlch(38.92, 83.87, 301.92°)
OKLaboklab(49.2% 0.0281 -0.2053)
OKLCHoklch(49.2% 0.207 277.8)
XYZxyz(16.8798, 10.6099, 62.1187)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46D2 #CBD246
analogous
#4685D2 #4D46D2 #9346D2
triadic
#4D46D2 #D24D46 #46D24D
tetradic
#4D46D2 #D24685 #CBD246 #46D293
square
#4D46D2 #D24685 #CBD246 #46D293
split-complementary
#4D46D2 #D29346 #85D246
monochromatic
#241F7F #312BB0 #4D46D2 #7C77DE #ACA8EA

Accessibility & contrast

On white

6.73
#4D46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4D46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46D2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46D2#FFFFFF#000000##FFFFFF
##4D46D21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d46d2;
/* rgb */ color: rgb(77, 70, 210);
/* oklch */ color: oklch(49.2% 0.207 277.8);
Tailwind
colors: {
  custom: {
    50: '#8e7ae1',
    500: '#4d46d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d46d2;
$custom-light: #8e7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46d2",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 243,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.20723,
    "h": 277.8
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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