#4747BE#4747BE

#4747BE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.182 H 276.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4747BE
RGBrgb(71, 71, 190)
HSLhsl(240, 48%, 51%)
HSVhsv(240, 63%, 75%)
CMYKcmyk(62.6%, 62.6%, 0%, 25.5%)
CIE-LABlab(37.05, 36.31, -62.64)
CIE-LCHlch(37.05, 72.40, 300.10°)
OKLaboklab(47.22% 0.0218 -0.1804)
OKLCHoklch(47.22% 0.182 276.9)
XYZxyz(14.1430, 9.5626, 49.8057)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747BE #BEBE47
analogous
#4782BE #4747BE #8247BE
triadic
#4747BE #BE4747 #47BE47
tetradic
#4747BE #BE4782 #BEBE47 #47BE82
square
#4747BE #BE4782 #BEBE47 #47BE82
split-complementary
#4747BE #BE8247 #82BE47
monochromatic
#242466 #343494 #4747BE #7474CE #A1A1DE

Accessibility & contrast

On white

7.21
#4747BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4747BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747BE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747BE#FFFFFF#000000##FFFFFF
##4747BE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4747be;
/* rgb */ color: rgb(71, 71, 190);
/* oklch */ color: oklch(47.2% 0.182 276.9);
Tailwind
colors: {
  custom: {
    50: '#877ad3',
    500: '#4747be',
    950: '#000000',
  },
}
SCSS
$custom: #4747be;
$custom-light: #877ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4747be",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.18171,
    "h": 276.9
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#4747BE
secondary
#CBCB96
accent
#D750D7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4747BE

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

Preview Lab → · Contrast checker → · Palette generator →

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