#4D4DC8#4D4DC8

#4D4DC8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.186 H 277.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4D4DC8
RGBrgb(77, 77, 200)
HSLhsl(240, 53%, 54%)
HSVhsv(240, 62%, 78%)
CMYKcmyk(61.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(39.67, 36.89, -64.17)
CIE-LCHlch(39.67, 74.02, 299.89°)
OKLaboklab(49.5% 0.0232 -0.1847)
OKLCHoklch(49.5% 0.186 277.2)
XYZxyz(16.1364, 11.0544, 55.9158)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DC8 #C8C84D
analogous
#4D8BC8 #4D4DC8 #8B4DC8
triadic
#4D4DC8 #C84D4D #4DC84D
tetradic
#4D4DC8 #C84D8B #C8C84D #4DC88B
square
#4D4DC8 #C84D8B #C8C84D #4DC88B
split-complementary
#4D4DC8 #C88B4D #8BC84D
monochromatic
#242476 #3333A5 #4D4DC8 #7C7CD6 #ABABE5

Accessibility & contrast

On white

6.54
#4D4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4D4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DC8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DC8#FFFFFF#000000##FFFFFF
##4D4DC81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4dc8;
/* rgb */ color: rgb(77, 77, 200);
/* oklch */ color: oklch(49.5% 0.186 277.2);
Tailwind
colors: {
  custom: {
    50: '#8b7fda',
    500: '#4d4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dc8;
$custom-light: #8b7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dc8",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.18615,
    "h": 277.2
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#4D4DC8
secondary
#D2D29E
accent
#DC4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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