#4D4FCE#4D4FCE

#4D4FCE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.192 H 276.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4D4FCE
RGBrgb(77, 79, 206)
HSLhsl(239, 57%, 55%)
HSVhsv(239, 63%, 81%)
CMYKcmyk(62.6%, 61.7%, 0%, 19.2%)
CIE-LABlab(40.61, 37.65, -66.11)
CIE-LCHlch(40.61, 76.08, 299.66°)
OKLaboklab(50.34% 0.0212 -0.1904)
OKLCHoklch(50.34% 0.192 276.4)
XYZxyz(16.9935, 11.6246, 59.7288)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FCE #CECC4D
analogous
#4D8FCE #4D4FCE #8B4DCE
triadic
#4D4FCE #CE4D4F #4FCE4D
tetradic
#4D4FCE #CE4D8F #CECC4D #4DCE8B
square
#4D4FCE #CE4D8F #CECC4D #4DCE8B
split-complementary
#4D4FCE #CE8B4D #8FCE4D
monochromatic
#23247E #3032AE #4D4FCE #7D7EDB #ADAEE8

Accessibility & contrast

On white

6.32
#4D4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4D4FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FCE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FCE#FFFFFF#000000##FFFFFF
##4D4FCE1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4fce;
/* rgb */ color: rgb(77, 79, 206);
/* oklch */ color: oklch(50.3% 0.192 276.4);
Tailwind
colors: {
  custom: {
    50: '#8c80de',
    500: '#4d4fce',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fce;
$custom-light: #8c80de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fce",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 239.07,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.19156,
    "h": 276.4
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#4D4FCE
secondary
#D6D5A1
accent
#DE48E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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