#4D4E8D#4D4E8D

#4D4E8D is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.101 H 280.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4D4E8D
RGBrgb(77, 78, 141)
HSLhsl(239, 29%, 43%)
HSVhsv(239, 45%, 55%)
CMYKcmyk(45.4%, 44.7%, 0%, 44.7%)
CIE-LABlab(35.89, 16.96, -35.20)
CIE-LCHlch(35.89, 39.07, 295.73°)
OKLaboklab(45.39% 0.0191 -0.0995)
OKLCHoklch(45.39% 0.101 280.9)
XYZxyz(10.5912, 8.9492, 26.3634)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E8D #8D8C4D
analogous
#4D6E8D #4D4E8D #6C4D8D
triadic
#4D4E8D #8D4D4E #4E8D4D
tetradic
#4D4E8D #8D4D6E #8D8C4D #4D8D6C
square
#4D4E8D #8D4D6E #8D8C4D #4D8D6C
split-complementary
#4D4E8D #8D6C4D #6E8D4D
monochromatic
#22223E #373865 #4D4E8D #6A6BAD #9192C3

Accessibility & contrast

On white

7.53
#4D4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E8D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E8D#FFFFFF#000000##FFFFFF
##4D4E8D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#385B66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d4e8d;
/* rgb */ color: rgb(77, 78, 141);
/* oklch */ color: oklch(45.4% 0.101 280.9);
Tailwind
colors: {
  custom: {
    50: '#827faf',
    500: '#4d4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e8d;
$custom-light: #827faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e8d",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 239.063,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.10136,
    "h": 280.9
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#4D4E8D
secondary
#AFAF86
accent
#C462C6
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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