#4C47BB#4C47BB

#4C47BB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.177 H 279.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4C47BB
RGBrgb(76, 71, 187)
HSLhsl(243, 46%, 51%)
HSVhsv(243, 62%, 73%)
CMYKcmyk(59.4%, 62%, 0%, 26.7%)
CIE-LABlab(37.17, 36.13, -60.66)
CIE-LCHlch(37.17, 70.61, 300.78°)
OKLaboklab(47.32% 0.0281 -0.1744)
OKLCHoklch(47.32% 0.177 279.1)
XYZxyz(14.2005, 9.6298, 48.1145)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47BB #B6BB47
analogous
#477CBB #4C47BB #8647BB
triadic
#4C47BB #BB4C47 #47BB4C
tetradic
#4C47BB #BB477C #B6BB47 #47BB86
square
#4C47BB #BB477C #B6BB47 #47BB86
split-complementary
#4C47BB #BB8647 #7CBB47
monochromatic
#272563 #393590 #4C47BB #7774CC #A3A0DC

Accessibility & contrast

On white

7.18
#4C47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C47BB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47BB#FFFFFF#000000##FFFFFF
##4C47BB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c47bb;
/* rgb */ color: rgb(76, 71, 187);
/* oklch */ color: oklch(47.3% 0.177 279.1);
Tailwind
colors: {
  custom: {
    50: '#897ad0',
    500: '#4c47bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c47bb;
$custom-light: #897ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47bb",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 242.586,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47324,
    "c": 0.1767,
    "h": 279.1
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#4C47BB
secondary
#C6C995
accent
#D652D0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4C47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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