#4C47BF#4C47BF

#4C47BF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.182 H 278.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4C47BF
RGBrgb(76, 71, 191)
HSLhsl(243, 48%, 51%)
HSVhsv(243, 63%, 75%)
CMYKcmyk(60.2%, 62.8%, 0%, 25.1%)
CIE-LABlab(37.49, 37.44, -62.49)
CIE-LCHlch(37.49, 72.85, 300.93°)
OKLaboklab(47.66% 0.0278 -0.1798)
OKLCHoklch(47.66% 0.182 278.8)
XYZxyz(14.6347, 9.8035, 50.4012)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47BF #BABF47
analogous
#477EBF #4C47BF #8847BF
triadic
#4C47BF #BF4C47 #47BF4C
tetradic
#4C47BF #BF477E #BABF47 #47BF88
square
#4C47BF #BF477E #BABF47 #47BF88
split-complementary
#4C47BF #BF8847 #7EBF47
monochromatic
#272468 #383495 #4C47BF #7874CF #A4A2DF

Accessibility & contrast

On white

7.09
#4C47BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4C47BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C47BF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47BF#FFFFFF#000000##FFFFFF
##4C47BF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c47bf;
/* rgb */ color: rgb(76, 71, 191);
/* oklch */ color: oklch(47.7% 0.182 278.8);
Tailwind
colors: {
  custom: {
    50: '#8a7bd3',
    500: '#4c47bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c47bf;
$custom-light: #8a7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47bf",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 242.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.18196,
    "h": 278.8
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#4C47BF
secondary
#C9CB96
accent
#D850D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4C47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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