#4F47D5#4F47D5

#4F47D5 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.209 H 278.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4F47D5
RGBrgb(79, 71, 213)
HSLhsl(243, 63%, 56%)
HSVhsv(243, 67%, 84%)
CMYKcmyk(62.9%, 66.7%, 0%, 16.5%)
CIE-LABlab(39.53, 45.00, -71.91)
CIE-LCHlch(39.53, 84.83, 302.04°)
OKLaboklab(49.76% 0.0294 -0.2073)
OKLCHoklch(49.76% 0.209 278.1)
XYZxyz(17.4841, 10.9714, 64.1342)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47D5 #CDD547
analogous
#4786D5 #4F47D5 #9647D5
triadic
#4F47D5 #D54F47 #47D54F
tetradic
#4F47D5 #D54786 #CDD547 #47D596
square
#4F47D5 #D54786 #CDD547 #47D596
split-complementary
#4F47D5 #D59647 #86D547
monochromatic
#241E84 #3129B5 #4F47D5 #7F79E0 #AEABEC

Accessibility & contrast

On white

6.57
#4F47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4F47D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47D5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47D5#FFFFFF#000000##FFFFFF
##4F47D51.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f47d5;
/* rgb */ color: rgb(79, 71, 213);
/* oklch */ color: oklch(49.8% 0.209 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f7be3',
    500: '#4f47d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f47d5;
$custom-light: #8f7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47d5",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 243.38,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.20943,
    "h": 278.1
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#4F47D5
secondary
#D6D99E
accent
#E642DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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