#4D4DC5#4D4DC5

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

Color values

HEX#4D4DC5
RGBrgb(77, 77, 197)
HSLhsl(240, 51%, 54%)
HSVhsv(240, 61%, 77%)
CMYKcmyk(60.9%, 60.9%, 0%, 22.7%)
CIE-LABlab(39.44, 35.90, -62.81)
CIE-LCHlch(39.44, 72.35, 299.75°)
OKLaboklab(49.25% 0.0234 -0.1807)
OKLCHoklch(49.25% 0.182 277.4)
XYZxyz(15.7892, 10.9155, 54.0874)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DC5 #C5C54D
analogous
#4D89C5 #4D4DC5 #894DC5
triadic
#4D4DC5 #C54D4D #4DC54D
tetradic
#4D4DC5 #C54D89 #C5C54D #4DC589
square
#4D4DC5 #C54D89 #C5C54D #4DC589
split-complementary
#4D4DC5 #C5894D #89C54D
monochromatic
#252572 #3434A0 #4D4DC5 #7B7BD4 #A9A9E3

Accessibility & contrast

On white

6.60
#4D4DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4D4DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DC5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DC5#FFFFFF#000000##FFFFFF
##4D4DC51.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4dc5;
/* rgb */ color: rgb(77, 77, 197);
/* oklch */ color: oklch(49.3% 0.182 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b7fd7',
    500: '#4d4dc5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dc5;
$custom-light: #8b7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dc5",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.1822,
    "h": 277.4
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#4D4DC5
secondary
#D1D19D
accent
#DA4DDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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