#4D4CC6#4D4CC6

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

Color values

HEX#4D4CC6
RGBrgb(77, 76, 198)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 62%, 78%)
CMYKcmyk(61.1%, 61.6%, 0%, 22.4%)
CIE-LABlab(39.28, 36.85, -63.65)
CIE-LCHlch(39.28, 73.55, 300.07°)
OKLaboklab(49.16% 0.0242 -0.1832)
OKLCHoklch(49.16% 0.185 277.5)
XYZxyz(15.8348, 10.8227, 54.6697)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CC6 #C5C64C
analogous
#4C88C6 #4D4CC6 #8A4CC6
triadic
#4D4CC6 #C64D4C #4CC64D
tetradic
#4D4CC6 #C64C88 #C5C64C #4CC68A
square
#4D4CC6 #C64C88 #C5C64C #4CC68A
split-complementary
#4D4CC6 #C68A4C #88C64C
monochromatic
#252573 #3433A1 #4D4CC6 #7B7AD5 #A9A9E4

Accessibility & contrast

On white

6.64
#4D4CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D4CC6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CC6#FFFFFF#000000##FFFFFF
##4D4CC61.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4cc6;
/* rgb */ color: rgb(77, 76, 198);
/* oklch */ color: oklch(49.2% 0.185 277.5);
Tailwind
colors: {
  custom: {
    50: '#8b7ed8',
    500: '#4d4cc6',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cc6;
$custom-light: #8b7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cc6",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 240.492,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.18476,
    "h": 277.5
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#4D4CC6
secondary
#D1D19D
accent
#DB4DDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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