#4D4CD1#4D4CD1

#4D4CD1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.199 H 276.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4D4CD1
RGBrgb(77, 76, 209)
HSLhsl(240, 59%, 56%)
HSVhsv(240, 64%, 82%)
CMYKcmyk(63.2%, 63.6%, 0%, 18%)
CIE-LABlab(40.16, 40.46, -68.58)
CIE-LCHlch(40.16, 79.63, 300.54°)
OKLaboklab(50.08% 0.0235 -0.1976)
OKLCHoklch(50.08% 0.199 276.8)
XYZxyz(17.1499, 11.3487, 61.5960)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD1 #D0D14C
analogous
#4C8DD1 #4D4CD1 #8F4CD1
triadic
#4D4CD1 #D14D4C #4CD14D
tetradic
#4D4CD1 #D14C8D #D0D14C #4CD18F
square
#4D4CD1 #D14C8D #D0D14C #4CD18F
split-complementary
#4D4CD1 #D18F4C #8DD14C
monochromatic
#222181 #2F2EB2 #4D4CD1 #7D7DDE #AEADEA

Accessibility & contrast

On white

6.42
#4D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D4CD1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD1#FFFFFF#000000##FFFFFF
##4D4CD11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4cd1;
/* rgb */ color: rgb(77, 76, 209);
/* oklch */ color: oklch(50.1% 0.199 276.8);
Tailwind
colors: {
  custom: {
    50: '#8d7ee0',
    500: '#4d4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd1;
$custom-light: #8d7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd1",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 240.451,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.19903,
    "h": 276.8
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#4D4CD1
secondary
#D8D8A1
accent
#E246E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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