#4D4DD7#4D4DD7

#4D4DD7 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.8% C 0.205 H 276.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4D4DD7
RGBrgb(77, 77, 215)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(64.2%, 64.2%, 0%, 15.7%)
CIE-LABlab(40.88, 41.83, -70.85)
CIE-LCHlch(40.88, 82.28, 300.56°)
OKLaboklab(50.76% 0.0222 -0.2043)
OKLCHoklch(50.76% 0.206 276.2)
XYZxyz(17.9762, 11.7903, 65.6052)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DD7 #D7D74D
analogous
#4D92D7 #4D4DD7 #924DD7
triadic
#4D4DD7 #D74D4D #4DD74D
tetradic
#4D4DD7 #D74D92 #D7D74D #4DD792
square
#4D4DD7 #D74D92 #D7D74D #4DD792
split-complementary
#4D4DD7 #D7924D #92D74D
monochromatic
#1F1F8A #2A2ABC #4D4DD7 #7F7FE2 #B1B1ED

Accessibility & contrast

On white

6.25
#4D4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4D4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DD7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DD7#FFFFFF#000000##FFFFFF
##4D4DD71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4dd7;
/* rgb */ color: rgb(77, 77, 215);
/* oklch */ color: oklch(50.8% 0.205 276.2);
Tailwind
colors: {
  custom: {
    50: '#8e7fe4',
    500: '#4d4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dd7;
$custom-light: #8e7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dd7",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.2055,
    "h": 276.2
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#4D4DD7
secondary
#DCDCA4
accent
#E641E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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