#4D4AA1#4D4AA1

#4D4AA1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.137 H 281.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4D4AA1
RGBrgb(77, 74, 161)
HSLhsl(242, 37%, 46%)
HSVhsv(242, 54%, 63%)
CMYKcmyk(52.2%, 54%, 0%, 36.9%)
CIE-LABlab(36.08, 25.95, -46.99)
CIE-LCHlch(36.08, 53.68, 298.91°)
OKLaboklab(45.93% 0.0264 -0.1342)
OKLCHoklch(45.93% 0.137 281.1)
XYZxyz(11.9404, 9.0479, 34.8285)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4AA1 #9EA14A
analogous
#4A72A1 #4D4AA1 #784AA1
triadic
#4D4AA1 #A14D4A #4AA14D
tetradic
#4D4AA1 #A14A72 #9EA14A #4AA178
square
#4D4AA1 #A14A72 #9EA14A #4AA178
split-complementary
#4D4AA1 #A1784A #72A14A
monochromatic
#25234D #393777 #4D4AA1 #6F6DBC #9896CF

Accessibility & contrast

On white

7.47
#4D4AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4D4AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4AA1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4AA1#FFFFFF#000000##FFFFFF
##4D4AA11.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#0F529F
Tritanopia (blue-blind)
#2B5D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d4aa1;
/* rgb */ color: rgb(77, 74, 161);
/* oklch */ color: oklch(45.9% 0.137 281.1);
Tailwind
colors: {
  custom: {
    50: '#857cbd',
    500: '#4d4aa1',
    950: '#000000',
  },
}
SCSS
$custom: #4d4aa1;
$custom-light: #857cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4aa1",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 242.069,
    "s": 37.021,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.13675,
    "h": 281.1
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#4D4AA1
secondary
#B9BB8C
accent
#CD5BC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4D4AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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