#4D4EAF#4D4EAF

#4D4EAF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.151 H 278.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4D4EAF
RGBrgb(77, 78, 175)
HSLhsl(239, 39%, 49%)
HSVhsv(239, 56%, 69%)
CMYKcmyk(56%, 55.4%, 0%, 31.4%)
CIE-LABlab(38.06, 28.00, -52.14)
CIE-LCHlch(38.06, 59.18, 298.23°)
OKLaboklab(47.72% 0.0225 -0.1493)
OKLCHoklch(47.72% 0.151 278.6)
XYZxyz(13.5204, 10.1208, 41.7902)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EAF #AFAE4D
analogous
#4D7FAF #4D4EAF #7D4DAF
triadic
#4D4EAF #AF4D4E #4EAF4D
tetradic
#4D4EAF #AF4D7F #AFAE4D #4DAF7D
square
#4D4EAF #AF4D7F #AFAE4D #4DAF7D
split-complementary
#4D4EAF #AF7D4D #7FAF4D
monochromatic
#28285A #3A3B85 #4D4EAF #7677C3 #A1A1D6

Accessibility & contrast

On white

6.94
#4D4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4D4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EAF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EAF#FFFFFF#000000##FFFFFF
##4D4EAF1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#1B6477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d4eaf;
/* rgb */ color: rgb(77, 78, 175);
/* oklch */ color: oklch(47.7% 0.151 278.6);
Tailwind
colors: {
  custom: {
    50: '#877fc7',
    500: '#4d4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eaf;
$custom-light: #877fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eaf",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 239.388,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.151,
    "h": 278.6
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#4D4EAF
secondary
#C3C295
accent
#CE59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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