#4D4FD4#4D4FD4

#4D4FD4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.199 H 276.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4D4FD4
RGBrgb(77, 79, 212)
HSLhsl(239, 61%, 57%)
HSVhsv(239, 64%, 83%)
CMYKcmyk(63.7%, 62.7%, 0%, 16.9%)
CIE-LABlab(41.09, 39.64, -68.79)
CIE-LCHlch(41.09, 79.39, 299.95°)
OKLaboklab(50.84% 0.0209 -0.1982)
OKLCHoklch(50.84% 0.199 276)
XYZxyz(17.7363, 11.9217, 63.6410)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FD4 #D4D24D
analogous
#4D93D4 #4D4FD4 #8F4DD4
triadic
#4D4FD4 #D44D4F #4FD44D
tetradic
#4D4FD4 #D44D93 #D4D24D #4DD48F
square
#4D4FD4 #D44D93 #D4D24D #4DD48F
split-complementary
#4D4FD4 #D48F4D #93D44D
monochromatic
#202286 #2C2EB7 #4D4FD4 #7E80E0 #B0B0EC

Accessibility & contrast

On white

6.20
#4D4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4D4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FD4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FD4#FFFFFF#000000##FFFFFF
##4D4FD41.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4fd4;
/* rgb */ color: rgb(77, 79, 212);
/* oklch */ color: oklch(50.8% 0.199 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d80e2',
    500: '#4d4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fd4;
$custom-light: #8d80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fd4",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 239.111,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.19932,
    "h": 276
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#4D4FD4
secondary
#DAD9A3
accent
#E244E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #4D4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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