#4D4EC8#4D4EC8

#4D4EC8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.185 H 276.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4D4EC8
RGBrgb(77, 78, 200)
HSLhsl(240, 53%, 54%)
HSVhsv(240, 62%, 78%)
CMYKcmyk(61.5%, 61%, 0%, 21.6%)
CIE-LABlab(39.91, 36.28, -63.79)
CIE-LCHlch(39.91, 73.39, 299.63°)
OKLaboklab(49.67% 0.0223 -0.1836)
OKLCHoklch(49.67% 0.185 276.9)
XYZxyz(16.2069, 11.1954, 55.9393)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EC8 #C8C74D
analogous
#4D8CC8 #4D4EC8 #8A4DC8
triadic
#4D4EC8 #C84D4E #4EC84D
tetradic
#4D4EC8 #C84D8C #C8C74D #4DC88A
square
#4D4EC8 #C84D8C #C8C74D #4DC88A
split-complementary
#4D4EC8 #C88A4D #8CC84D
monochromatic
#242576 #3334A5 #4D4EC8 #7C7CD6 #ABABE5

Accessibility & contrast

On white

6.48
#4D4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4D4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EC8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EC8#FFFFFF#000000##FFFFFF
##4D4EC81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4ec8;
/* rgb */ color: rgb(77, 78, 200);
/* oklch */ color: oklch(49.7% 0.185 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b80da',
    500: '#4d4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ec8;
$custom-light: #8b80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ec8",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 239.512,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.18491,
    "h": 276.9
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#4D4EC8
secondary
#D2D29E
accent
#DB4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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