#4D4CD4#4D4CD4

#4D4CD4 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.3% C 0.203 H 276.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4D4CD4
RGBrgb(77, 76, 212)
HSLhsl(240, 61%, 56%)
HSVhsv(240, 64%, 83%)
CMYKcmyk(63.7%, 64.2%, 0%, 16.9%)
CIE-LABlab(40.41, 41.44, -69.90)
CIE-LCHlch(40.41, 81.27, 300.66°)
OKLaboklab(50.34% 0.0232 -0.2015)
OKLCHoklch(50.34% 0.203 276.6)
XYZxyz(17.5248, 11.4987, 63.5705)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD4 #D3D44C
analogous
#4C8FD4 #4D4CD4 #914CD4
triadic
#4D4CD4 #D44D4C #4CD44D
tetradic
#4D4CD4 #D44C8F #D3D44C #4CD491
square
#4D4CD4 #D44C8F #D3D44C #4CD491
split-complementary
#4D4CD4 #D4914C #8FD44C
monochromatic
#212086 #2D2CB7 #4D4CD4 #7E7DE0 #AFAFEC

Accessibility & contrast

On white

6.36
#4D4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CD4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD4#FFFFFF#000000##FFFFFF
##4D4CD41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4cd4;
/* rgb */ color: rgb(77, 76, 212);
/* oklch */ color: oklch(50.3% 0.203 276.6);
Tailwind
colors: {
  custom: {
    50: '#8e7ee2',
    500: '#4d4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd4;
$custom-light: #8e7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd4",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 240.441,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.20286,
    "h": 276.6
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#4D4CD4
secondary
#D9DAA2
accent
#E443E3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #4D4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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