#4D4CD6#4D4CD6

#4D4CD6 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.5% C 0.205 H 276.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4D4CD6
RGBrgb(77, 76, 214)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(64%, 64.5%, 0%, 16.1%)
CIE-LABlab(40.57, 42.10, -70.78)
CIE-LCHlch(40.57, 82.36, 300.74°)
OKLaboklab(50.51% 0.0231 -0.2041)
OKLCHoklch(50.51% 0.205 276.4)
XYZxyz(17.7787, 11.6002, 64.9075)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD6 #D5D64C
analogous
#4C90D6 #4D4CD6 #924CD6
triadic
#4D4CD6 #D64D4C #4CD64D
tetradic
#4D4CD6 #D64C90 #D5D64C #4CD692
square
#4D4CD6 #D64C90 #D5D64C #4CD692
split-complementary
#4D4CD6 #D6924C #90D64C
monochromatic
#201F88 #2C2BBA #4D4CD6 #7F7EE1 #B0B0ED

Accessibility & contrast

On white

6.32
#4D4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4D4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CD6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD6#FFFFFF#000000##FFFFFF
##4D4CD61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#005AD3
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4cd6;
/* rgb */ color: rgb(77, 76, 214);
/* oklch */ color: oklch(50.5% 0.205 276.4);
Tailwind
colors: {
  custom: {
    50: '#8e7ee4',
    500: '#4d4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd6;
$custom-light: #8e7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd6",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 240.435,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.2054,
    "h": 276.4
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#4D4CD6
secondary
#DBDBA3
accent
#E642E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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