#4D47AB#4D47AB

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

Color values

HEX#4D47AB
RGBrgb(77, 71, 171)
HSLhsl(244, 41%, 47%)
HSVhsv(244, 58%, 67%)
CMYKcmyk(55%, 58.5%, 0%, 32.9%)
CIE-LABlab(36.03, 31.10, -53.05)
CIE-LCHlch(36.03, 61.49, 300.38°)
OKLaboklab(46.12% 0.0299 -0.152)
OKLCHoklch(46.12% 0.155 281.1)
XYZxyz(12.6622, 9.0238, 39.5947)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47AB #A5AB47
analogous
#4773AB #4D47AB #7F47AB
triadic
#4D47AB #AB4D47 #47AB4D
tetradic
#4D47AB #AB4773 #A5AB47 #47AB7F
square
#4D47AB #AB4773 #A5AB47 #47AB7F
split-complementary
#4D47AB #AB7F47 #73AB47
monochromatic
#262355 #3A3580 #4D47AB #726DC2 #9C98D4

Accessibility & contrast

On white

7.49
#4D47AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D47AB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47AB#FFFFFF#000000##FFFFFF
##4D47AB1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#215E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d47ab;
/* rgb */ color: rgb(77, 71, 171);
/* oklch */ color: oklch(46.1% 0.155 281.1);
Tailwind
colors: {
  custom: {
    50: '#877ac5',
    500: '#4d47ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d47ab;
$custom-light: #877ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47ab",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 243.6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.15493,
    "h": 281.1
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#4D47AB
secondary
#BDC08D
accent
#D157CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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