#4D4ABA#4D4ABA

#4D4ABA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.171 H 278.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4D4ABA
RGBrgb(77, 74, 186)
HSLhsl(242, 45%, 51%)
HSVhsv(242, 60%, 73%)
CMYKcmyk(58.6%, 60.2%, 0%, 27.1%)
CIE-LABlab(37.88, 34.13, -58.92)
CIE-LCHlch(37.88, 68.09, 300.08°)
OKLaboklab(47.84% 0.0266 -0.1693)
OKLCHoklch(47.84% 0.171 278.9)
XYZxyz(14.3695, 10.0195, 47.6216)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ABA #B7BA4A
analogous
#4A7FBA #4D4ABA #854ABA
triadic
#4D4ABA #BA4D4A #4ABA4D
tetradic
#4D4ABA #BA4A7F #B7BA4A #4ABA85
square
#4D4ABA #BA4A7F #B7BA4A #4ABA85
split-complementary
#4D4ABA #BA854A #7FBA4A
monochromatic
#282664 #393790 #4D4ABA #7976CB #A4A3DC

Accessibility & contrast

On white

6.99
#4D4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4D4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4ABA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4ABA#FFFFFF#000000##FFFFFF
##4D4ABA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4aba;
/* rgb */ color: rgb(77, 74, 186);
/* oklch */ color: oklch(47.8% 0.171 278.9);
Tailwind
colors: {
  custom: {
    50: '#897dd0',
    500: '#4d4aba',
    950: '#000000',
  },
}
SCSS
$custom: #4d4aba;
$custom-light: #897dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4aba",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 241.607,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.17135,
    "h": 278.9
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#4D4ABA
secondary
#C7C997
accent
#D553D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4D4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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