#4D4CC7#4D4CC7

#4D4CC7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.186 H 277.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4D4CC7
RGBrgb(77, 76, 199)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 62%, 78%)
CMYKcmyk(61.3%, 61.8%, 0%, 22%)
CIE-LABlab(39.36, 37.18, -64.10)
CIE-LCHlch(39.36, 74.10, 300.11°)
OKLaboklab(49.24% 0.0242 -0.1845)
OKLCHoklch(49.24% 0.186 277.5)
XYZxyz(15.9505, 10.8690, 55.2791)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CC7 #C6C74C
analogous
#4C89C7 #4D4CC7 #8B4CC7
triadic
#4D4CC7 #C74D4C #4CC74D
tetradic
#4D4CC7 #C74C89 #C6C74C #4CC78B
square
#4D4CC7 #C74C89 #C6C74C #4CC78B
split-complementary
#4D4CC7 #C78B4C #89C74C
monochromatic
#252474 #3433A3 #4D4CC7 #7B7BD6 #AAA9E4

Accessibility & contrast

On white

6.62
#4D4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CC7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CC7#FFFFFF#000000##FFFFFF
##4D4CC71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4cc7;
/* rgb */ color: rgb(77, 76, 199);
/* oklch */ color: oklch(49.2% 0.186 277.5);
Tailwind
colors: {
  custom: {
    50: '#8b7ed9',
    500: '#4d4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cc7;
$custom-light: #8b7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cc7",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 240.488,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.18607,
    "h": 277.5
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#4D4CC7
secondary
#D1D29D
accent
#DC4CDB
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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