#4D4FD1#4D4FD1

#4D4FD1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.195 H 276.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4D4FD1
RGBrgb(77, 79, 209)
HSLhsl(239, 59%, 56%)
HSVhsv(239, 63%, 82%)
CMYKcmyk(63.2%, 62.2%, 0%, 18%)
CIE-LABlab(40.85, 38.65, -67.45)
CIE-LCHlch(40.85, 77.74, 299.81°)
OKLaboklab(50.59% 0.021 -0.1943)
OKLCHoklch(50.59% 0.195 276.2)
XYZxyz(17.3614, 11.7718, 61.6665)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FD1 #D1CF4D
analogous
#4D91D1 #4D4FD1 #8D4DD1
triadic
#4D4FD1 #D14D4F #4FD14D
tetradic
#4D4FD1 #D14D91 #D1CF4D #4DD18D
square
#4D4FD1 #D14D91 #D1CF4D #4DD18D
split-complementary
#4D4FD1 #D18D4D #91D14D
monochromatic
#222382 #2E30B3 #4D4FD1 #7E7FDE #AEAFEA

Accessibility & contrast

On white

6.26
#4D4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FD1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FD1#FFFFFF#000000##FFFFFF
##4D4FD11.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4fd1;
/* rgb */ color: rgb(77, 79, 209);
/* oklch */ color: oklch(50.6% 0.195 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d80e0',
    500: '#4d4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fd1;
$custom-light: #8d80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fd1",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 239.091,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.19546,
    "h": 276.2
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#4D4FD1
secondary
#D8D7A2
accent
#E046E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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