#4D4EAB#4D4EAB

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

Color values

HEX#4D4EAB
RGBrgb(77, 78, 171)
HSLhsl(239, 38%, 49%)
HSVhsv(239, 55%, 67%)
CMYKcmyk(55%, 54.4%, 0%, 32.9%)
CIE-LABlab(37.78, 26.68, -50.22)
CIE-LCHlch(37.78, 56.86, 297.98°)
OKLaboklab(47.42% 0.0223 -0.1436)
OKLCHoklch(47.42% 0.145 278.8)
XYZxyz(13.1333, 9.9660, 39.7518)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EAB #ABAA4D
analogous
#4D7DAB #4D4EAB #7B4DAB
triadic
#4D4EAB #AB4D4E #4EAB4D
tetradic
#4D4EAB #AB4D7D #ABAA4D #4DAB7B
square
#4D4EAB #AB4D7D #ABAA4D #4DAB7B
split-complementary
#4D4EAB #AB7B4D #7DAB4D
monochromatic
#272857 #3A3B81 #4D4EAB #7575C1 #9F9FD4

Accessibility & contrast

On white

7.02
#4D4EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4D4EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4EAB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EAB#FFFFFF#000000##FFFFFF
##4D4EAB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#206375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4eab;
/* rgb */ color: rgb(77, 78, 171);
/* oklch */ color: oklch(47.4% 0.145 278.8);
Tailwind
colors: {
  custom: {
    50: '#877fc5',
    500: '#4d4eab',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eab;
$custom-light: #877fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eab",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 239.362,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47424,
    "c": 0.14537,
    "h": 278.8
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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