#4D4FE8#4D4FE8

#4D4FE8 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.225 H 274.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4D4FE8
RGBrgb(77, 79, 232)
HSLhsl(239, 77%, 61%)
HSVhsv(239, 67%, 91%)
CMYKcmyk(66.8%, 65.9%, 0%, 9%)
CIE-LABlab(42.75, 46.20, -77.47)
CIE-LCHlch(42.75, 90.20, 300.81°)
OKLaboklab(52.56% 0.0192 -0.2237)
OKLCHoklch(52.56% 0.225 274.9)
XYZxyz(20.4172, 12.9941, 77.7604)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FE8 #E8E64D
analogous
#4D9CE8 #4D4FE8 #984DE8
triadic
#4D4FE8 #E84D4F #4FE84D
tetradic
#4D4FE8 #E84D9C #E8E64D #4DE898
square
#4D4FE8 #E84D9C #E8E64D #4DE898
split-complementary
#4D4FE8 #E8984D #9CE84D
monochromatic
#1517A5 #1C1FDB #4D4FE8 #8385EF #B9BAF6

Accessibility & contrast

On white

5.83
#4D4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FE8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FE8#FFFFFF#000000##FFFFFF
##4D4FE81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#005EE5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d4fe8;
/* rgb */ color: rgb(77, 79, 232);
/* oklch */ color: oklch(52.6% 0.225 274.9);
Tailwind
colors: {
  custom: {
    50: '#9181f1',
    500: '#4d4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fe8;
$custom-light: #9181f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fe8",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 239.226,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.2245,
    "h": 274.9
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#4D4FE8
secondary
#E6E5AB
accent
#D70CD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4D4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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