#4D4CC5#4D4CC5

#4D4CC5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.183 H 277.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D4CC5
RGBrgb(77, 76, 197)
HSLhsl(240, 51%, 54%)
HSVhsv(240, 61%, 77%)
CMYKcmyk(60.9%, 61.4%, 0%, 22.7%)
CIE-LABlab(39.20, 36.52, -63.20)
CIE-LCHlch(39.20, 72.99, 300.02°)
OKLaboklab(49.08% 0.0243 -0.1818)
OKLCHoklch(49.08% 0.183 277.6)
XYZxyz(15.7198, 10.7767, 54.0642)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CC5 #C4C54C
analogous
#4C87C5 #4D4CC5 #894CC5
triadic
#4D4CC5 #C54D4C #4CC54D
tetradic
#4D4CC5 #C54C87 #C4C54C #4CC589
square
#4D4CC5 #C54C87 #C4C54C #4CC589
split-complementary
#4D4CC5 #C5894C #87C54C
monochromatic
#252572 #3534A0 #4D4CC5 #7B7AD4 #A9A8E3

Accessibility & contrast

On white

6.65
#4D4CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D4CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CC5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CC5#FFFFFF#000000##FFFFFF
##4D4CC51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d4cc5;
/* rgb */ color: rgb(77, 76, 197);
/* oklch */ color: oklch(49.1% 0.183 277.6);
Tailwind
colors: {
  custom: {
    50: '#8b7ed7',
    500: '#4d4cc5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cc5;
$custom-light: #8b7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cc5",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 240.496,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.18344,
    "h": 277.6
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#4D4CC5
secondary
#D0D09C
accent
#DB4DD9
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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