#4747BF#4747BF

#4747BF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.183 H 276.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4747BF
RGBrgb(71, 71, 191)
HSLhsl(240, 48%, 51%)
HSVhsv(240, 63%, 75%)
CMYKcmyk(62.8%, 62.8%, 0%, 25.1%)
CIE-LABlab(37.13, 36.64, -63.10)
CIE-LCHlch(37.13, 72.96, 300.15°)
OKLaboklab(47.3% 0.0217 -0.1817)
OKLCHoklch(47.3% 0.183 276.8)
XYZxyz(14.2527, 9.6065, 50.3833)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747BF #BFBF47
analogous
#4783BF #4747BF #8347BF
triadic
#4747BF #BF4747 #47BF47
tetradic
#4747BF #BF4783 #BFBF47 #47BF83
square
#4747BF #BF4783 #BFBF47 #47BF83
split-complementary
#4747BF #BF8347 #83BF47
monochromatic
#242468 #343495 #4747BF #7474CF #A2A2DF

Accessibility & contrast

On white

7.19
#4747BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4747BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747BF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747BF#FFFFFF#000000##FFFFFF
##4747BF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4747bf;
/* rgb */ color: rgb(71, 71, 191);
/* oklch */ color: oklch(47.3% 0.183 276.8);
Tailwind
colors: {
  custom: {
    50: '#877ad3',
    500: '#4747bf',
    950: '#000000',
  },
}
SCSS
$custom: #4747bf;
$custom-light: #877ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4747bf",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.473,
    "c": 0.18302,
    "h": 276.8
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#4747BF
secondary
#CBCB96
accent
#D850D8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4747BF

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

Preview Lab → · Contrast checker → · Palette generator →

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