#4D4FD7#4D4FD7

#4D4FD7 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.1% C 0.203 H 275.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4D4FD7
RGBrgb(77, 79, 215)
HSLhsl(239, 63%, 57%)
HSVhsv(239, 64%, 84%)
CMYKcmyk(64.2%, 63.3%, 0%, 15.7%)
CIE-LABlab(41.33, 40.63, -70.11)
CIE-LCHlch(41.33, 81.03, 300.09°)
OKLaboklab(51.09% 0.0207 -0.2021)
OKLCHoklch(51.09% 0.203 275.8)
XYZxyz(18.1183, 12.0745, 65.6526)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FD7 #D7D54D
analogous
#4D94D7 #4D4FD7 #904DD7
triadic
#4D4FD7 #D74D4F #4FD74D
tetradic
#4D4FD7 #D74D94 #D7D54D #4DD790
square
#4D4FD7 #D74D94 #D7D54D #4DD790
split-complementary
#4D4FD7 #D7904D #94D74D
monochromatic
#1F218A #2A2CBC #4D4FD7 #7F80E2 #B1B2ED

Accessibility & contrast

On white

6.15
#4D4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4D4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FD7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FD7#FFFFFF#000000##FFFFFF
##4D4FD71.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4fd7;
/* rgb */ color: rgb(77, 79, 215);
/* oklch */ color: oklch(51.1% 0.203 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e81e4',
    500: '#4d4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fd7;
$custom-light: #8e81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fd7",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 239.13,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.20317,
    "h": 275.8
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#4D4FD7
secondary
#DCDBA4
accent
#E441E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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