#4D4CD8#4D4CD8

#4D4CD8 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.7% C 0.208 H 276.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4D4CD8
RGBrgb(77, 76, 216)
HSLhsl(240, 64%, 57%)
HSVhsv(240, 65%, 85%)
CMYKcmyk(64.4%, 64.8%, 0%, 15.3%)
CIE-LABlab(40.74, 42.75, -71.66)
CIE-LCHlch(40.74, 83.44, 300.82°)
OKLaboklab(50.68% 0.0229 -0.2067)
OKLCHoklch(50.68% 0.208 276.3)
XYZxyz(18.0356, 11.7030, 66.2609)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD8 #D7D84C
analogous
#4C91D8 #4D4CD8 #934CD8
triadic
#4D4CD8 #D84D4C #4CD84D
tetradic
#4D4CD8 #D84C91 #D7D84C #4CD893
square
#4D4CD8 #D84C91 #D7D84C #4CD893
split-complementary
#4D4CD8 #D8934C #91D84C
monochromatic
#1F1E8B #2A29BE #4D4CD8 #7F7EE3 #B1B1EE

Accessibility & contrast

On white

6.29
#4D4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4D4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CD8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD8#FFFFFF#000000##FFFFFF
##4D4CD81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4cd8;
/* rgb */ color: rgb(77, 76, 216);
/* oklch */ color: oklch(50.7% 0.208 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e7fe5',
    500: '#4d4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd8;
$custom-light: #8e7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd8",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 240.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50682,
    "c": 0.20792,
    "h": 276.3
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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