#4D4CCE#4D4CCE

#4D4CCE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.195 H 277.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4D4CCE
RGBrgb(77, 76, 206)
HSLhsl(240, 57%, 55%)
HSVhsv(240, 63%, 81%)
CMYKcmyk(62.6%, 63.1%, 0%, 19.2%)
CIE-LABlab(39.92, 39.48, -67.25)
CIE-LCHlch(39.92, 77.98, 300.42°)
OKLaboklab(49.83% 0.0237 -0.1937)
OKLCHoklch(49.83% 0.195 277)
XYZxyz(16.7820, 11.2015, 59.6583)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CCE #CDCE4C
analogous
#4C8CCE #4D4CCE #8E4CCE
triadic
#4D4CCE #CE4D4C #4CCE4D
tetradic
#4D4CCE #CE4C8C #CDCE4C #4CCE8E
square
#4D4CCE #CE4C8C #CDCE4C #4CCE8E
split-complementary
#4D4CCE #CE8E4C #8CCE4C
monochromatic
#23227D #302FAD #4D4CCE #7D7CDB #ADACE8

Accessibility & contrast

On white

6.48
#4D4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4D4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CCE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CCE#FFFFFF#000000##FFFFFF
##4D4CCE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4cce;
/* rgb */ color: rgb(77, 76, 206);
/* oklch */ color: oklch(49.8% 0.195 277.0);
Tailwind
colors: {
  custom: {
    50: '#8d7ede',
    500: '#4d4cce',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cce;
$custom-light: #8d7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cce",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 240.462,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49828,
    "c": 0.19517,
    "h": 277
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#4D4CCE
secondary
#D6D6A0
accent
#E048DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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