#4F47AC#4F47AC

#4F47AC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.156 H 282.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4F47AC
RGBrgb(79, 71, 172)
HSLhsl(245, 42%, 48%)
HSVhsv(245, 59%, 67%)
CMYKcmyk(54.1%, 58.7%, 0%, 32.5%)
CIE-LABlab(36.26, 31.82, -53.25)
CIE-LCHlch(36.26, 62.04, 300.86°)
OKLaboklab(46.36% 0.0324 -0.1526)
OKLCHoklch(46.36% 0.156 282)
XYZxyz(12.9218, 9.1465, 40.1063)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47AC #A4AC47
analogous
#4772AC #4F47AC #8147AC
triadic
#4F47AC #AC4F47 #47AC4F
tetradic
#4F47AC #AC4772 #A4AC47 #47AC81
square
#4F47AC #AC4772 #A4AC47 #47AC81
split-complementary
#4F47AC #AC8147 #72AC47
monochromatic
#272355 #3B3581 #4F47AC #746DC3 #9D99D5

Accessibility & contrast

On white

7.42
#4F47AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4F47AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F47AC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47AC#FFFFFF#000000##FFFFFF
##4F47AC1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#265F72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f47ac;
/* rgb */ color: rgb(79, 71, 172);
/* oklch */ color: oklch(46.4% 0.156 282.0);
Tailwind
colors: {
  custom: {
    50: '#887ac5',
    500: '#4f47ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f47ac;
$custom-light: #887ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47ac",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 244.752,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.15598,
    "h": 282
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#4F47AC
secondary
#BDC18E
accent
#D156C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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