#4D4FCC#4D4FCC

#4D4FCC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.189 H 276.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4D4FCC
RGBrgb(77, 79, 204)
HSLhsl(239, 55%, 55%)
HSVhsv(239, 62%, 80%)
CMYKcmyk(62.3%, 61.3%, 0%, 20%)
CIE-LABlab(40.46, 36.99, -65.21)
CIE-LCHlch(40.46, 74.97, 299.56°)
OKLaboklab(50.17% 0.0213 -0.1877)
OKLCHoklch(50.17% 0.189 276.5)
XYZxyz(16.7521, 11.5280, 58.4574)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FCC #CCCA4D
analogous
#4D8FCC #4D4FCC #8A4DCC
triadic
#4D4FCC #CC4D4F #4FCC4D
tetradic
#4D4FCC #CC4D8F #CCCA4D #4DCC8A
square
#4D4FCC #CC4D8F #CCCA4D #4DCC8A
split-complementary
#4D4FCC #CC8A4D #8FCC4D
monochromatic
#23257B #3133AB #4D4FCC #7D7EDA #ACADE7

Accessibility & contrast

On white

6.35
#4D4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FCC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FCC#FFFFFF#000000##FFFFFF
##4D4FCC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4fcc;
/* rgb */ color: rgb(77, 79, 204);
/* oklch */ color: oklch(50.2% 0.189 276.5);
Tailwind
colors: {
  custom: {
    50: '#8c80dc',
    500: '#4d4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fcc;
$custom-light: #8c80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fcc",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 239.055,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.18894,
    "h": 276.5
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#4D4FCC
secondary
#D5D4A0
accent
#DC49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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