#4D47BB#4D47BB

#4D47BB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.176 H 279.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4D47BB
RGBrgb(77, 71, 187)
HSLhsl(243, 46%, 51%)
HSVhsv(243, 62%, 73%)
CMYKcmyk(58.8%, 62%, 0%, 26.7%)
CIE-LABlab(37.25, 36.30, -60.54)
CIE-LCHlch(37.25, 70.59, 300.95°)
OKLaboklab(47.4% 0.0293 -0.174)
OKLCHoklch(47.4% 0.177 279.6)
XYZxyz(14.2806, 9.6711, 48.1183)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47BB #B5BB47
analogous
#477BBB #4D47BB #8747BB
triadic
#4D47BB #BB4D47 #47BB4D
tetradic
#4D47BB #BB477B #B5BB47 #47BB87
square
#4D47BB #BB477B #B5BB47 #47BB87
split-complementary
#4D47BB #BB8747 #7BBB47
monochromatic
#282563 #3A3590 #4D47BB #7874CC #A3A0DC

Accessibility & contrast

On white

7.16
#4D47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D47BB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47BB#FFFFFF#000000##FFFFFF
##4D47BB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d47bb;
/* rgb */ color: rgb(77, 71, 187);
/* oklch */ color: oklch(47.4% 0.176 279.6);
Tailwind
colors: {
  custom: {
    50: '#8a7bd0',
    500: '#4d47bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d47bb;
$custom-light: #8a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47bb",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 243.103,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.1765,
    "h": 279.6
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#4D47BB
secondary
#C6C995
accent
#D652CF
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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