#4D4FE5#4D4FE5

#4D4FE5 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.221 H 275.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4D4FE5
RGBrgb(77, 79, 229)
HSLhsl(239, 75%, 60%)
HSVhsv(239, 66%, 90%)
CMYKcmyk(66.4%, 65.5%, 0%, 10.2%)
CIE-LABlab(42.50, 45.22, -76.19)
CIE-LCHlch(42.50, 88.60, 300.69°)
OKLaboklab(52.3% 0.0195 -0.2199)
OKLCHoklch(52.3% 0.221 275.1)
XYZxyz(19.9947, 12.8251, 75.5353)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FE5 #E5E34D
analogous
#4D9BE5 #4D4FE5 #974DE5
triadic
#4D4FE5 #E54D4F #4FE54D
tetradic
#4D4FE5 #E54D9B #E5E34D #4DE597
square
#4D4FE5 #E54D9B #E5E34D #4DE597
split-complementary
#4D4FE5 #E5974D #9BE54D
monochromatic
#1719A0 #1F22D6 #4D4FE5 #8284ED #B8B9F5

Accessibility & contrast

On white

5.89
#4D4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4D4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FE5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FE5#FFFFFF#000000##FFFFFF
##4D4FE51.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d4fe5;
/* rgb */ color: rgb(77, 79, 229);
/* oklch */ color: oklch(52.3% 0.221 275.1);
Tailwind
colors: {
  custom: {
    50: '#9181ee',
    500: '#4d4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fe5;
$custom-light: #9181ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fe5",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 239.211,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.22079,
    "h": 275.1
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#4D4FE5
secondary
#E4E3AA
accent
#EF37F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4D4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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