#4D4FC4#4D4FC4

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

Color values

HEX#4D4FC4
RGBrgb(77, 79, 196)
HSLhsl(239, 50%, 54%)
HSVhsv(239, 61%, 77%)
CMYKcmyk(60.7%, 59.7%, 0%, 23.1%)
CIE-LABlab(39.84, 34.34, -61.58)
CIE-LCHlch(39.84, 70.50, 299.14°)
OKLaboklab(49.53% 0.0216 -0.1771)
OKLCHoklch(49.53% 0.178 276.9)
XYZxyz(15.8171, 11.1541, 53.5333)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FC4 #C4C24D
analogous
#4D8AC4 #4D4FC4 #864DC4
triadic
#4D4FC4 #C44D4F #4FC44D
tetradic
#4D4FC4 #C44D8A #C4C24D #4DC486
square
#4D4FC4 #C44D8A #C4C24D #4DC486
split-complementary
#4D4FC4 #C4864D #8AC44D
monochromatic
#252771 #35379F #4D4FC4 #7B7CD3 #A9AAE2

Accessibility & contrast

On white

6.50
#4D4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D4FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FC4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FC4#FFFFFF#000000##FFFFFF
##4D4FC41.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4fc4;
/* rgb */ color: rgb(77, 79, 196);
/* oklch */ color: oklch(49.5% 0.178 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b80d7',
    500: '#4d4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fc4;
$custom-light: #8b80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fc4",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 238.992,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.17837,
    "h": 276.9
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#4D4FC4
secondary
#D0CF9D
accent
#D74EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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