#4D4DCC#4D4DCC

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

Color values

HEX#4D4DCC
RGBrgb(77, 77, 204)
HSLhsl(240, 55%, 55%)
HSVhsv(240, 62%, 80%)
CMYKcmyk(62.3%, 62.3%, 0%, 20%)
CIE-LABlab(39.99, 38.21, -65.98)
CIE-LCHlch(39.99, 76.24, 300.08°)
OKLaboklab(49.83% 0.023 -0.19)
OKLCHoklch(49.83% 0.191 276.9)
XYZxyz(16.6100, 11.2438, 58.4100)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DCC #CCCC4D
analogous
#4D8CCC #4D4DCC #8C4DCC
triadic
#4D4DCC #CC4D4D #4DCC4D
tetradic
#4D4DCC #CC4D8C #CCCC4D #4DCC8C
square
#4D4DCC #CC4D8C #CCCC4D #4DCC8C
split-complementary
#4D4DCC #CC8C4D #8CCC4D
monochromatic
#23237B #3131AB #4D4DCC #7D7DDA #ACACE7

Accessibility & contrast

On white

6.46
#4D4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4D4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DCC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DCC#FFFFFF#000000##FFFFFF
##4D4DCC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4dcc;
/* rgb */ color: rgb(77, 77, 204);
/* oklch */ color: oklch(49.8% 0.191 276.9);
Tailwind
colors: {
  custom: {
    50: '#8c7fdc',
    500: '#4d4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dcc;
$custom-light: #8c7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dcc",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.19138,
    "h": 276.9
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#4D4DCC
secondary
#D5D5A0
accent
#DF49DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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