#4747BB#4747BB

#4747BB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.178 H 277.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4747BB
RGBrgb(71, 71, 187)
HSLhsl(240, 46%, 51%)
HSVhsv(240, 62%, 73%)
CMYKcmyk(62%, 62%, 0%, 26.7%)
CIE-LABlab(36.80, 35.31, -61.27)
CIE-LCHlch(36.80, 70.72, 299.95°)
OKLaboklab(46.96% 0.0219 -0.1764)
OKLCHoklch(46.96% 0.178 277.1)
XYZxyz(13.8185, 9.4328, 48.0966)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747BB #BBBB47
analogous
#4781BB #4747BB #8147BB
triadic
#4747BB #BB4747 #47BB47
tetradic
#4747BB #BB4781 #BBBB47 #47BB81
square
#4747BB #BB4781 #BBBB47 #47BB81
split-complementary
#4747BB #BB8147 #81BB47
monochromatic
#252563 #353590 #4747BB #7474CC #A0A0DC

Accessibility & contrast

On white

7.27
#4747BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4747BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747BB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747BB#FFFFFF#000000##FFFFFF
##4747BB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4747bb;
/* rgb */ color: rgb(71, 71, 187);
/* oklch */ color: oklch(47.0% 0.178 277.1);
Tailwind
colors: {
  custom: {
    50: '#877ad0',
    500: '#4747bb',
    950: '#000000',
  },
}
SCSS
$custom: #4747bb;
$custom-light: #877ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4747bb",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.17774,
    "h": 277.1
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#4747BB
secondary
#C9C995
accent
#D652D6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4747BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4747BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva