#4D4CB5#4D4CB5

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

Color values

HEX#4D4CB5
RGBrgb(77, 76, 181)
HSLhsl(241, 42%, 50%)
HSVhsv(241, 58%, 71%)
CMYKcmyk(57.5%, 58%, 0%, 29%)
CIE-LABlab(37.99, 31.24, -55.80)
CIE-LCHlch(37.99, 63.95, 299.24°)
OKLaboklab(47.8% 0.0247 -0.1601)
OKLCHoklch(47.8% 0.162 278.8)
XYZxyz(13.9829, 10.0819, 44.9163)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CB5 #B4B54C
analogous
#4C80B5 #4D4CB5 #814CB5
triadic
#4D4CB5 #B54D4C #4CB54D
tetradic
#4D4CB5 #B54C80 #B4B54C #4CB581
square
#4D4CB5 #B54C80 #B4B54C #4CB581
split-complementary
#4D4CB5 #B5814C #80B54C
monochromatic
#28275F #3A398B #4D4CB5 #7877C7 #A3A3D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4CB5#FFFFFF#000000##FFFFFF
##4D4CB51.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)
#005EB9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#106579
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4cb5;
/* rgb */ color: rgb(77, 76, 181);
/* oklch */ color: oklch(47.8% 0.162 278.8);
Tailwind
colors: {
  custom: {
    50: '#887ecc',
    500: '#4d4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cb5;
$custom-light: #887ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cb5",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 240.571,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.16197,
    "h": 278.8
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#4D4CB5
secondary
#C5C697
accent
#D156D0
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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