#4D4AAB#4D4AAB

#4D4AAB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.151 H 280.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4D4AAB
RGBrgb(77, 74, 171)
HSLhsl(242, 40%, 48%)
HSVhsv(242, 57%, 67%)
CMYKcmyk(55%, 56.7%, 0%, 32.9%)
CIE-LABlab(36.77, 29.21, -51.85)
CIE-LCHlch(36.77, 59.51, 299.40°)
OKLaboklab(46.67% 0.0267 -0.1485)
OKLCHoklch(46.67% 0.151 280.2)
XYZxyz(12.8577, 9.4148, 39.6599)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4AAB #A8AB4A
analogous
#4A77AB #4D4AAB #7D4AAB
triadic
#4D4AAB #AB4D4A #4AAB4D
tetradic
#4D4AAB #AB4A77 #A8AB4A #4AAB7D
square
#4D4AAB #AB4A77 #A8AB4A #4AAB7D
split-complementary
#4D4AAB #AB7D4A #77AB4A
monochromatic
#272556 #3A3880 #4D4AAB #7371C1 #9D9BD4

Accessibility & contrast

On white

7.28
#4D4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D4AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4AAB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4AAB#FFFFFF#000000##FFFFFF
##4D4AAB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#216073
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d4aab;
/* rgb */ color: rgb(77, 74, 171);
/* oklch */ color: oklch(46.7% 0.151 280.2);
Tailwind
colors: {
  custom: {
    50: '#877cc5',
    500: '#4d4aab',
    950: '#000000',
  },
}
SCSS
$custom: #4d4aab;
$custom-light: #877cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4aab",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 241.856,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.15085,
    "h": 280.2
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#4D4AAB
secondary
#BFC090
accent
#CF58CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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