#4D4E8A#4D4E8A

#4D4E8A is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.2% C 0.097 H 281.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4D4E8A
RGBrgb(77, 78, 138)
HSLhsl(239, 28%, 42%)
HSVhsv(239, 44%, 54%)
CMYKcmyk(44.2%, 43.5%, 0%, 45.9%)
CIE-LABlab(35.72, 16.02, -33.64)
CIE-LCHlch(35.72, 37.25, 295.46°)
OKLaboklab(45.2% 0.0186 -0.095)
OKLCHoklch(45.2% 0.097 281.1)
XYZxyz(10.3711, 8.8611, 25.2037)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E8A #8A894D
analogous
#4D6D8A #4D4E8A #6A4D8A
triadic
#4D4E8A #8A4D4E #4E8A4D
tetradic
#4D4E8A #8A4D6D #8A894D #4D8A6A
square
#4D4E8A #8A4D6D #8A894D #4D8A6A
split-complementary
#4D4E8A #8A6A4D #6D8A4D
monochromatic
#21223B #373863 #4D4E8A #696AAB #9091C1

Accessibility & contrast

On white

7.57
#4D4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4D4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E8A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E8A#FFFFFF#000000##FFFFFF
##4D4E8A1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#3A5A65
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d4e8a;
/* rgb */ color: rgb(77, 78, 138);
/* oklch */ color: oklch(45.2% 0.097 281.1);
Tailwind
colors: {
  custom: {
    50: '#827fac',
    500: '#4d4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e8a;
$custom-light: #827fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e8a",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 239.016,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.452,
    "c": 0.09678,
    "h": 281.1
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#4D4E8A
secondary
#AEAD85
accent
#C363C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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