#4D4CDF#4D4CDF

#4D4CDF is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.3% C 0.217 H 275.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4D4CDF
RGBrgb(77, 76, 223)
HSLhsl(240, 70%, 59%)
HSVhsv(240, 66%, 87%)
CMYKcmyk(65.5%, 65.9%, 0%, 12.5%)
CIE-LABlab(41.33, 45.03, -74.69)
CIE-LCHlch(41.33, 87.21, 301.09°)
OKLaboklab(51.29% 0.0222 -0.2155)
OKLCHoklch(51.29% 0.217 275.9)
XYZxyz(18.9599, 12.0727, 71.1288)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CDF #DEDF4C
analogous
#4C94DF #4D4CDF #964CDF
triadic
#4D4CDF #DF4D4C #4CDF4D
tetradic
#4D4CDF #DF4C94 #DEDF4C #4CDF96
square
#4D4CDF #DF4C94 #DEDF4C #4CDF96
split-complementary
#4D4CDF #DF964C #94DF4C
monochromatic
#1C1B96 #2524CA #4D4CDF #8180E8 #B4B4F2

Accessibility & contrast

On white

6.15
#4D4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4D4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CDF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CDF#FFFFFF#000000##FFFFFF
##4D4CDF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4cdf;
/* rgb */ color: rgb(77, 76, 223);
/* oklch */ color: oklch(51.3% 0.217 275.9);
Tailwind
colors: {
  custom: {
    50: '#907fea',
    500: '#4d4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cdf;
$custom-light: #907fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cdf",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 240.408,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.21669,
    "h": 275.9
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#4D4CDF
secondary
#E0E0A6
accent
#EC3BEB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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