#4D4FC2#4D4FC2

#4D4FC2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.176 H 277.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4D4FC2
RGBrgb(77, 79, 194)
HSLhsl(239, 49%, 53%)
HSVhsv(239, 60%, 76%)
CMYKcmyk(60.3%, 59.3%, 0%, 23.9%)
CIE-LABlab(39.69, 33.67, -60.66)
CIE-LCHlch(39.69, 69.38, 299.03°)
OKLaboklab(49.36% 0.0216 -0.1744)
OKLCHoklch(49.36% 0.176 277.1)
XYZxyz(15.5910, 11.0636, 52.3424)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FC2 #C2C04D
analogous
#4D8AC2 #4D4FC2 #854DC2
triadic
#4D4FC2 #C24D4F #4FC24D
tetradic
#4D4FC2 #C24D8A #C2C04D #4DC285
square
#4D4FC2 #C24D8A #C2C04D #4DC285
split-complementary
#4D4FC2 #C2854D #8AC24D
monochromatic
#26276F #36379C #4D4FC2 #7B7CD2 #A8A9E1

Accessibility & contrast

On white

6.54
#4D4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4D4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FC2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FC2#FFFFFF#000000##FFFFFF
##4D4FC21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4fc2;
/* rgb */ color: rgb(77, 79, 194);
/* oklch */ color: oklch(49.4% 0.176 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a80d5',
    500: '#4d4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fc2;
$custom-light: #8a80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fc2",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 238.974,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.1757,
    "h": 277.1
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#4D4FC2
secondary
#CFCE9C
accent
#D64FD9
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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