#4D4ABE#4D4ABE

#4D4ABE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.177 H 278.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4D4ABE
RGBrgb(77, 74, 190)
HSLhsl(242, 47%, 52%)
HSVhsv(242, 61%, 75%)
CMYKcmyk(59.5%, 61.1%, 0%, 25.5%)
CIE-LABlab(38.18, 35.44, -60.77)
CIE-LCHlch(38.18, 70.35, 300.25°)
OKLaboklab(48.16% 0.0264 -0.1747)
OKLCHoklch(48.16% 0.177 278.6)
XYZxyz(14.8006, 10.1920, 49.8925)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ABE #BBBE4A
analogous
#4A81BE #4D4ABE #874ABE
triadic
#4D4ABE #BE4D4A #4ABE4D
tetradic
#4D4ABE #BE4A81 #BBBE4A #4ABE87
square
#4D4ABE #BE4A81 #BBBE4A #4ABE87
split-complementary
#4D4ABE #BE874A #81BE4A
monochromatic
#272568 #383695 #4D4ABE #7977CE #A6A4DE

Accessibility & contrast

On white

6.91
#4D4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4D4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4ABE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4ABE#FFFFFF#000000##FFFFFF
##4D4ABE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d4abe;
/* rgb */ color: rgb(77, 74, 190);
/* oklch */ color: oklch(48.2% 0.177 278.6);
Tailwind
colors: {
  custom: {
    50: '#8a7dd2',
    500: '#4d4abe',
    950: '#000000',
  },
}
SCSS
$custom: #4d4abe;
$custom-light: #8a7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4abe",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 241.552,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.17669,
    "h": 278.6
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#4D4ABE
secondary
#CACB98
accent
#D751D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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