#4D4CD7#4D4CD7

#4D4CD7 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.207 H 276.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4D4CD7
RGBrgb(77, 76, 215)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 65%, 84%)
CMYKcmyk(64.2%, 64.7%, 0%, 15.7%)
CIE-LABlab(40.66, 42.42, -71.22)
CIE-LCHlch(40.66, 82.90, 300.78°)
OKLaboklab(50.6% 0.023 -0.2054)
OKLCHoklch(50.6% 0.207 276.4)
XYZxyz(17.9067, 11.6515, 65.5821)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD7 #D6D74C
analogous
#4C90D7 #4D4CD7 #934CD7
triadic
#4D4CD7 #D74D4C #4CD74D
tetradic
#4D4CD7 #D74C90 #D6D74C #4CD793
square
#4D4CD7 #D74C90 #D6D74C #4CD793
split-complementary
#4D4CD7 #D7934C #90D74C
monochromatic
#201F8A #2B2ABC #4D4CD7 #7F7EE2 #B0B0ED

Accessibility & contrast

On white

6.31
#4D4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4D4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CD7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD7#FFFFFF#000000##FFFFFF
##4D4CD71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4cd7;
/* rgb */ color: rgb(77, 76, 215);
/* oklch */ color: oklch(50.6% 0.207 276.4);
Tailwind
colors: {
  custom: {
    50: '#8e7fe4',
    500: '#4d4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd7;
$custom-light: #8e7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd7",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 240.432,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.20666,
    "h": 276.4
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#4D4CD7
secondary
#DBDCA3
accent
#E641E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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