#4D4DDC#4D4DDC

#4D4DDC is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.2% C 0.212 H 275.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D4DDC
RGBrgb(77, 77, 220)
HSLhsl(240, 67%, 58%)
HSVhsv(240, 65%, 86%)
CMYKcmyk(65%, 65%, 0%, 13.7%)
CIE-LABlab(41.30, 43.46, -73.03)
CIE-LCHlch(41.30, 84.99, 300.76°)
OKLaboklab(51.19% 0.0218 -0.2107)
OKLCHoklch(51.19% 0.212 275.9)
XYZxyz(18.6285, 12.0512, 69.0407)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DDC #DCDC4D
analogous
#4D94DC #4D4DDC #944DDC
triadic
#4D4DDC #DC4D4D #4DDC4D
tetradic
#4D4DDC #DC4D94 #DCDC4D #4DDC94
square
#4D4DDC #DC4D94 #DCDC4D #4DDC94
split-complementary
#4D4DDC #DC944D #94DC4D
monochromatic
#1D1D92 #2727C5 #4D4DDC #8080E6 #B3B3F0

Accessibility & contrast

On white

6.16
#4D4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4D4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DDC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DDC#FFFFFF#000000##FFFFFF
##4D4DDC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4ddc;
/* rgb */ color: rgb(77, 77, 220);
/* oklch */ color: oklch(51.2% 0.212 275.9);
Tailwind
colors: {
  custom: {
    50: '#8f7fe8',
    500: '#4d4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ddc;
$custom-light: #8f7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ddc",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.21181,
    "h": 275.9
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#4D4DDC
secondary
#DFDFA6
accent
#EA3EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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