#4747AF#4747AF

#4747AF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.162 H 278.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4747AF
RGBrgb(71, 71, 175)
HSLhsl(240, 42%, 48%)
HSVhsv(240, 59%, 69%)
CMYKcmyk(59.4%, 59.4%, 0%, 31.4%)
CIE-LABlab(35.87, 31.29, -55.71)
CIE-LCHlch(35.87, 63.89, 299.32°)
OKLaboklab(45.98% 0.0224 -0.16)
OKLCHoklch(45.98% 0.162 278)
XYZxyz(12.5872, 8.9403, 41.6115)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747AF #AFAF47
analogous
#477BAF #4747AF #7B47AF
triadic
#4747AF #AF4747 #47AF47
tetradic
#4747AF #AF477B #AFAF47 #47AF7B
square
#4747AF #AF477B #AFAF47 #47AF7B
split-complementary
#4747AF #AF7B47 #7BAF47
monochromatic
#242458 #353583 #4747AF #6F6FC4 #9A9AD6

Accessibility & contrast

On white

7.53
#4747AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4747AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747AF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747AF#FFFFFF#000000##FFFFFF
##4747AF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4747af;
/* rgb */ color: rgb(71, 71, 175);
/* oklch */ color: oklch(46.0% 0.162 278.0);
Tailwind
colors: {
  custom: {
    50: '#847ac8',
    500: '#4747af',
    950: '#000000',
  },
}
SCSS
$custom: #4747af;
$custom-light: #847ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4747af",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45981,
    "c": 0.16157,
    "h": 278
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#4747AF
secondary
#C2C28F
accent
#D256D2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4747AF

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

Preview Lab → · Contrast checker → · Palette generator →

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