#4D46AB#4D46AB

#4D46AB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.156 H 281.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4D46AB
RGBrgb(77, 70, 171)
HSLhsl(244, 42%, 47%)
HSVhsv(244, 59%, 67%)
CMYKcmyk(55%, 59.1%, 0%, 32.9%)
CIE-LABlab(35.79, 31.72, -53.44)
CIE-LCHlch(35.79, 62.15, 300.69°)
OKLaboklab(45.94% 0.031 -0.1532)
OKLCHoklch(45.94% 0.156 281.4)
XYZxyz(12.5991, 8.8976, 39.5737)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46AB #A4AB46
analogous
#4672AB #4D46AB #7F46AB
triadic
#4D46AB #AB4D46 #46AB4D
tetradic
#4D46AB #AB4672 #A4AB46 #46AB7F
square
#4D46AB #AB4672 #A4AB46 #46AB7F
split-complementary
#4D46AB #AB7F46 #72AB46
monochromatic
#262254 #393480 #4D46AB #726CC3 #9B97D4

Accessibility & contrast

On white

7.56
#4D46AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4D46AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D46AB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46AB#FFFFFF#000000##FFFFFF
##4D46AB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#225E71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d46ab;
/* rgb */ color: rgb(77, 70, 171);
/* oklch */ color: oklch(45.9% 0.156 281.4);
Tailwind
colors: {
  custom: {
    50: '#877ac5',
    500: '#4d46ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d46ab;
$custom-light: #877ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46ab",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 244.158,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.15629,
    "h": 281.4
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#4D46AB
secondary
#BDC08C
accent
#D256C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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