#4D4DCE#4D4DCE

#4D4DCE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.194 H 276.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D4DCE
RGBrgb(77, 77, 206)
HSLhsl(240, 57%, 55%)
HSVhsv(240, 63%, 81%)
CMYKcmyk(62.6%, 62.6%, 0%, 19.2%)
CIE-LABlab(40.15, 38.87, -66.87)
CIE-LCHlch(40.15, 77.35, 300.17°)
OKLaboklab(50% 0.0229 -0.1926)
OKLCHoklch(50% 0.194 276.8)
XYZxyz(16.8514, 11.3404, 59.6814)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DCE #CECE4D
analogous
#4D8DCE #4D4DCE #8D4DCE
triadic
#4D4DCE #CE4D4D #4DCE4D
tetradic
#4D4DCE #CE4D8D #CECE4D #4DCE8D
square
#4D4DCE #CE4D8D #CECE4D #4DCE8D
split-complementary
#4D4DCE #CE8D4D #8DCE4D
monochromatic
#23237E #3030AE #4D4DCE #7D7DDB #ADADE8

Accessibility & contrast

On white

6.43
#4D4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DCE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DCE#FFFFFF#000000##FFFFFF
##4D4DCE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4dce;
/* rgb */ color: rgb(77, 77, 206);
/* oklch */ color: oklch(50.0% 0.194 276.8);
Tailwind
colors: {
  custom: {
    50: '#8d7fde',
    500: '#4d4dce',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dce;
$custom-light: #8d7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dce",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 240,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.19397,
    "h": 276.8
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#4D4DCE
secondary
#D6D6A1
accent
#E048E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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