#4D4AAA#4D4AAA

#4D4AAA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.149 H 280.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4D4AAA
RGBrgb(77, 74, 170)
HSLhsl(242, 39%, 48%)
HSVhsv(242, 56%, 67%)
CMYKcmyk(54.7%, 56.5%, 0%, 33.3%)
CIE-LABlab(36.70, 28.88, -51.37)
CIE-LCHlch(36.70, 58.93, 299.35°)
OKLaboklab(46.6% 0.0267 -0.1471)
OKLCHoklch(46.6% 0.149 280.3)
XYZxyz(12.7628, 9.3768, 39.1598)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4AAA #A7AA4A
analogous
#4A77AA #4D4AAA #7D4AAA
triadic
#4D4AAA #AA4D4A #4AAA4D
tetradic
#4D4AAA #AA4A77 #A7AA4A #4AAA7D
square
#4D4AAA #AA4A77 #A7AA4A #4AAA7D
split-complementary
#4D4AAA #AA7D4A #77AA4A
monochromatic
#262555 #3A377F #4D4AAA #7370C1 #9D9BD3

Accessibility & contrast

On white

7.30
#4D4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4AAA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4AAA#FFFFFF#000000##FFFFFF
##4D4AAA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035AAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#226073
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d4aaa;
/* rgb */ color: rgb(77, 74, 170);
/* oklch */ color: oklch(46.6% 0.149 280.3);
Tailwind
colors: {
  custom: {
    50: '#877cc4',
    500: '#4d4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4d4aaa;
$custom-light: #877cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4aaa",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 241.875,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.14946,
    "h": 280.3
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#4D4AAA
secondary
#BEC090
accent
#CF59CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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