#4D4AAF#4D4AAF

#4D4AAF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.156 H 279.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4D4AAF
RGBrgb(77, 74, 175)
HSLhsl(242, 41%, 49%)
HSVhsv(242, 58%, 69%)
CMYKcmyk(56%, 57.7%, 0%, 31.4%)
CIE-LABlab(37.06, 30.52, -53.76)
CIE-LCHlch(37.06, 61.82, 299.59°)
OKLaboklab(46.98% 0.0267 -0.1541)
OKLCHoklch(46.98% 0.156 279.8)
XYZxyz(13.2448, 9.5696, 41.6983)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4AAF #ACAF4A
analogous
#4A7AAF #4D4AAF #804AAF
triadic
#4D4AAF #AF4D4A #4AAF4D
tetradic
#4D4AAF #AF4A7A #ACAF4A #4AAF80
square
#4D4AAF #AF4A7A #ACAF4A #4AAF80
split-complementary
#4D4AAF #AF804A #7AAF4A
monochromatic
#272659 #3A3884 #4D4AAF #7573C4 #9F9ED6

Accessibility & contrast

On white

7.21
#4D4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4D4AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4AAF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4AAF#FFFFFF#000000##FFFFFF
##4D4AAF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#1B6275
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d4aaf;
/* rgb */ color: rgb(77, 74, 175);
/* oklch */ color: oklch(47.0% 0.156 279.8);
Tailwind
colors: {
  custom: {
    50: '#877cc8',
    500: '#4d4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4aaf;
$custom-light: #877cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4aaf",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 241.782,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.15639,
    "h": 279.8
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#4D4AAF
secondary
#C1C292
accent
#D057CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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