#4D4CD9#4D4CD9

#4D4CD9 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.8% C 0.209 H 276.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4D4CD9
RGBrgb(77, 76, 217)
HSLhsl(240, 65%, 57%)
HSVhsv(240, 65%, 85%)
CMYKcmyk(64.5%, 65%, 0%, 14.9%)
CIE-LABlab(40.82, 43.08, -72.09)
CIE-LCHlch(40.82, 83.98, 300.86°)
OKLaboklab(50.77% 0.0228 -0.2079)
OKLCHoklch(50.77% 0.209 276.3)
XYZxyz(18.1653, 11.7549, 66.9438)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD9 #D8D94C
analogous
#4C91D9 #4D4CD9 #944CD9
triadic
#4D4CD9 #D94D4C #4CD94D
tetradic
#4D4CD9 #D94C91 #D8D94C #4CD994
square
#4D4CD9 #D94C91 #D8D94C #4CD994
split-complementary
#4D4CD9 #D9944C #91D94C
monochromatic
#1F1E8D #2A29BF #4D4CD9 #7F7EE4 #B1B1EE

Accessibility & contrast

On white

6.27
#4D4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CD9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD9#FFFFFF#000000##FFFFFF
##4D4CD91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4cd9;
/* rgb */ color: rgb(77, 76, 217);
/* oklch */ color: oklch(50.8% 0.209 276.3);
Tailwind
colors: {
  custom: {
    50: '#8f7fe6',
    500: '#4d4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd9;
$custom-light: #8f7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd9",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 240.426,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.20919,
    "h": 276.3
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#4D4CD9
secondary
#DCDDA4
accent
#E840E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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