#4D4DD1#4D4DD1

#4D4DD1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.198 H 276.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4D4DD1
RGBrgb(77, 77, 209)
HSLhsl(240, 59%, 56%)
HSVhsv(240, 63%, 82%)
CMYKcmyk(63.2%, 63.2%, 0%, 18%)
CIE-LABlab(40.39, 39.86, -68.21)
CIE-LCHlch(40.39, 79.00, 300.30°)
OKLaboklab(50.25% 0.0227 -0.1965)
OKLCHoklch(50.25% 0.198 276.6)
XYZxyz(17.2193, 11.4876, 61.6191)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DD1 #D1D14D
analogous
#4D8FD1 #4D4DD1 #8F4DD1
triadic
#4D4DD1 #D14D4D #4DD14D
tetradic
#4D4DD1 #D14D8F #D1D14D #4DD18F
square
#4D4DD1 #D14D8F #D1D14D #4DD18F
split-complementary
#4D4DD1 #D18F4D #8FD14D
monochromatic
#222282 #2E2EB3 #4D4DD1 #7E7EDE #AEAEEA

Accessibility & contrast

On white

6.37
#4D4DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D4DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DD1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DD1#FFFFFF#000000##FFFFFF
##4D4DD11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#006E88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4dd1;
/* rgb */ color: rgb(77, 77, 209);
/* oklch */ color: oklch(50.2% 0.198 276.6);
Tailwind
colors: {
  custom: {
    50: '#8d7fe0',
    500: '#4d4dd1',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dd1;
$custom-light: #8d7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dd1",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 240,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.19784,
    "h": 276.6
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#4D4DD1
secondary
#D8D8A2
accent
#E246E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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