#4D4DC4#4D4DC4

#4D4DC4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.181 H 277.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4D4DC4
RGBrgb(77, 77, 196)
HSLhsl(240, 50%, 54%)
HSVhsv(240, 61%, 77%)
CMYKcmyk(60.7%, 60.7%, 0%, 23.1%)
CIE-LABlab(39.36, 35.57, -62.36)
CIE-LCHlch(39.36, 71.79, 299.70°)
OKLaboklab(49.17% 0.0234 -0.1794)
OKLCHoklch(49.17% 0.181 277.4)
XYZxyz(15.6750, 10.8699, 53.4859)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DC4 #C4C44D
analogous
#4D88C4 #4D4DC4 #884DC4
triadic
#4D4DC4 #C44D4D #4DC44D
tetradic
#4D4DC4 #C44D88 #C4C44D #4DC488
square
#4D4DC4 #C44D88 #C4C44D #4DC488
split-complementary
#4D4DC4 #C4884D #88C44D
monochromatic
#252571 #35359F #4D4DC4 #7B7BD3 #A9A9E2

Accessibility & contrast

On white

6.62
#4D4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D4DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DC4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DC4#FFFFFF#000000##FFFFFF
##4D4DC41.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4dc4;
/* rgb */ color: rgb(77, 77, 196);
/* oklch */ color: oklch(49.2% 0.181 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b7fd7',
    500: '#4d4dc4',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dc4;
$custom-light: #8b7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dc4",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.18088,
    "h": 277.4
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#4D4DC4
secondary
#D0D09D
accent
#DA4EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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