#4D4EAC#4D4EAC

#4D4EAC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.147 H 278.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4D4EAC
RGBrgb(77, 78, 172)
HSLhsl(239, 38%, 49%)
HSVhsv(239, 55%, 67%)
CMYKcmyk(55.2%, 54.7%, 0%, 32.5%)
CIE-LABlab(37.85, 27.01, -50.70)
CIE-LCHlch(37.85, 57.44, 298.04°)
OKLaboklab(47.5% 0.0224 -0.1451)
OKLCHoklch(47.5% 0.147 278.8)
XYZxyz(13.2290, 10.0043, 40.2556)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EAC #ACAB4D
analogous
#4D7EAC #4D4EAC #7C4DAC
triadic
#4D4EAC #AC4D4E #4EAC4D
tetradic
#4D4EAC #AC4D7E #ACAB4D #4DAC7C
square
#4D4EAC #AC4D7E #ACAB4D #4DAC7C
split-complementary
#4D4EAC #AC7C4D #7EAC4D
monochromatic
#272857 #3A3B82 #4D4EAC #7576C1 #9FA0D4

Accessibility & contrast

On white

7.00
#4D4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4D4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EAC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EAC#FFFFFF#000000##FFFFFF
##4D4EAC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#1F6375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4eac;
/* rgb */ color: rgb(77, 78, 172);
/* oklch */ color: oklch(47.5% 0.147 278.8);
Tailwind
colors: {
  custom: {
    50: '#877fc5',
    500: '#4d4eac',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eac;
$custom-light: #877fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eac",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 239.368,
    "s": 38.153,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.14678,
    "h": 278.8
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#4D4EAC
secondary
#C1C194
accent
#CD5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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