#4D4FD5#4D4FD5

#4D4FD5 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.9% C 0.201 H 275.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4D4FD5
RGBrgb(77, 79, 213)
HSLhsl(239, 62%, 57%)
HSVhsv(239, 64%, 84%)
CMYKcmyk(63.8%, 62.9%, 0%, 16.5%)
CIE-LABlab(41.17, 39.97, -69.23)
CIE-LCHlch(41.17, 79.94, 300.00°)
OKLaboklab(50.92% 0.0208 -0.1995)
OKLCHoklch(50.92% 0.201 275.9)
XYZxyz(17.8629, 11.9723, 64.3074)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FD5 #D5D34D
analogous
#4D93D5 #4D4FD5 #8F4DD5
triadic
#4D4FD5 #D54D4F #4FD54D
tetradic
#4D4FD5 #D54D93 #D5D34D #4DD58F
square
#4D4FD5 #D54D93 #D5D34D #4DD58F
split-complementary
#4D4FD5 #D58F4D #93D54D
monochromatic
#202288 #2C2EB9 #4D4FD5 #7F80E1 #B0B1EC

Accessibility & contrast

On white

6.19
#4D4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4D4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FD5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FD5#FFFFFF#000000##FFFFFF
##4D4FD51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4fd5;
/* rgb */ color: rgb(77, 79, 213);
/* oklch */ color: oklch(50.9% 0.201 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e81e3',
    500: '#4d4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fd5;
$custom-light: #8e81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fd5",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 239.118,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.20061,
    "h": 275.9
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#4D4FD5
secondary
#DBDAA3
accent
#E343E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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