#4D4DD8#4D4DD8

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

Color values

HEX#4D4DD8
RGBrgb(77, 77, 216)
HSLhsl(240, 64%, 57%)
HSVhsv(240, 64%, 85%)
CMYKcmyk(64.4%, 64.4%, 0%, 15.3%)
CIE-LABlab(40.96, 42.16, -71.29)
CIE-LCHlch(40.96, 82.82, 300.60°)
OKLaboklab(50.85% 0.0221 -0.2056)
OKLCHoklch(50.85% 0.207 276.1)
XYZxyz(18.1051, 11.8419, 66.2840)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DD8 #D8D84D
analogous
#4D93D8 #4D4DD8 #934DD8
triadic
#4D4DD8 #D84D4D #4DD84D
tetradic
#4D4DD8 #D84D93 #D8D84D #4DD893
square
#4D4DD8 #D84D93 #D8D84D #4DD893
split-complementary
#4D4DD8 #D8934D #93D84D
monochromatic
#1F1F8C #2A2ABE #4D4DD8 #7F7FE3 #B1B1EE

Accessibility & contrast

On white

6.23
#4D4DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4D4DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DD8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DD8#FFFFFF#000000##FFFFFF
##4D4DD81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4dd8;
/* rgb */ color: rgb(77, 77, 216);
/* oklch */ color: oklch(50.8% 0.207 276.1);
Tailwind
colors: {
  custom: {
    50: '#8e7fe5',
    500: '#4d4dd8',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dd8;
$custom-light: #8e7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dd8",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.20677,
    "h": 276.1
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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