#4D4AB5#4D4AB5

#4D4AB5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.165 H 279.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D4AB5
RGBrgb(77, 74, 181)
HSLhsl(242, 42%, 50%)
HSVhsv(242, 59%, 71%)
CMYKcmyk(57.5%, 59.1%, 0%, 29%)
CIE-LABlab(37.50, 32.49, -56.59)
CIE-LCHlch(37.50, 65.25, 299.86°)
OKLaboklab(47.44% 0.0267 -0.1624)
OKLCHoklch(47.44% 0.165 279.3)
XYZxyz(13.8472, 9.8106, 44.8711)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4AB5 #B2B54A
analogous
#4A7DB5 #4D4AB5 #824AB5
triadic
#4D4AB5 #B54D4A #4AB54D
tetradic
#4D4AB5 #B54A7D #B2B54A #4AB582
square
#4D4AB5 #B54A7D #B2B54A #4AB582
split-complementary
#4D4AB5 #B5824A #7DB54A
monochromatic
#28265E #3B388A #4D4AB5 #7875C7 #A2A1D9

Accessibility & contrast

On white

7.09
#4D4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D4AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4AB5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4AB5#FFFFFF#000000##FFFFFF
##4D4AB51.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#106478
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4ab5;
/* rgb */ color: rgb(77, 74, 181);
/* oklch */ color: oklch(47.4% 0.165 279.3);
Tailwind
colors: {
  custom: {
    50: '#887ccc',
    500: '#4d4ab5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ab5;
$custom-light: #887ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ab5",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 241.682,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.16461,
    "h": 279.3
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#4D4AB5
secondary
#C4C595
accent
#D256CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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