#4D4FC5#4D4FC5

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

Color values

HEX#4D4FC5
RGBrgb(77, 79, 197)
HSLhsl(239, 51%, 54%)
HSVhsv(239, 61%, 77%)
CMYKcmyk(60.9%, 59.9%, 0%, 22.7%)
CIE-LABlab(39.91, 34.67, -62.04)
CIE-LCHlch(39.91, 71.07, 299.20°)
OKLaboklab(49.61% 0.0216 -0.1784)
OKLCHoklch(49.61% 0.18 276.9)
XYZxyz(15.9313, 11.1997, 54.1347)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FC5 #C5C34D
analogous
#4D8BC5 #4D4FC5 #874DC5
triadic
#4D4FC5 #C54D4F #4FC54D
tetradic
#4D4FC5 #C54D8B #C5C34D #4DC587
square
#4D4FC5 #C54D8B #C5C34D #4DC587
split-complementary
#4D4FC5 #C5874D #8BC54D
monochromatic
#252772 #3436A0 #4D4FC5 #7B7DD4 #A9AAE3

Accessibility & contrast

On white

6.48
#4D4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4D4FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FC5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FC5#FFFFFF#000000##FFFFFF
##4D4FC51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4fc5;
/* rgb */ color: rgb(77, 79, 197);
/* oklch */ color: oklch(49.6% 0.180 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b80d7',
    500: '#4d4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fc5;
$custom-light: #8b80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fc5",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 239,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.1797,
    "h": 276.9
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#4D4FC5
secondary
#D1D09D
accent
#D84DDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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