#4D4DC6#4D4DC6

#4D4DC6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.184 H 277.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4D4DC6
RGBrgb(77, 77, 198)
HSLhsl(240, 51%, 54%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(61.1%, 61.1%, 0%, 22.4%)
CIE-LABlab(39.52, 36.23, -63.27)
CIE-LCHlch(39.52, 72.91, 299.80°)
OKLaboklab(49.34% 0.0233 -0.182)
OKLCHoklch(49.34% 0.184 277.3)
XYZxyz(15.9042, 10.9615, 54.6928)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DC6 #C6C64D
analogous
#4D8AC6 #4D4DC6 #8A4DC6
triadic
#4D4DC6 #C64D4D #4DC64D
tetradic
#4D4DC6 #C64D8A #C6C64D #4DC68A
square
#4D4DC6 #C64D8A #C6C64D #4DC68A
split-complementary
#4D4DC6 #C68A4D #8AC64D
monochromatic
#252574 #3434A2 #4D4DC6 #7B7BD5 #AAAAE4

Accessibility & contrast

On white

6.58
#4D4DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4D4DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DC6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DC6#FFFFFF#000000##FFFFFF
##4D4DC61.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4dc6;
/* rgb */ color: rgb(77, 77, 198);
/* oklch */ color: oklch(49.3% 0.184 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b7fd8',
    500: '#4d4dc6',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dc6;
$custom-light: #8b7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dc6",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 240,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.18352,
    "h": 277.3
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#4D4DC6
secondary
#D1D19E
accent
#DB4DDB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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