#4F47E1#4F47E1

#4F47E1 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.224 H 277.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4F47E1
RGBrgb(79, 71, 225)
HSLhsl(243, 72%, 58%)
HSVhsv(243, 68%, 88%)
CMYKcmyk(64.9%, 68.4%, 0%, 11.8%)
CIE-LABlab(40.58, 48.81, -77.06)
CIE-LCHlch(40.58, 91.22, 302.35°)
OKLaboklab(50.84% 0.0278 -0.2224)
OKLCHoklch(50.84% 0.224 277.1)
XYZxyz(19.0639, 11.6034, 72.4546)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47E1 #D9E147
analogous
#478CE1 #4F47E1 #9C47E1
triadic
#4F47E1 #E14F47 #47E14F
tetradic
#4F47E1 #E1478C #D9E147 #47E19C
square
#4F47E1 #E1478C #D9E147 #47E19C
split-complementary
#4F47E1 #E19C47 #8CE147
monochromatic
#1F1895 #2A21CA #4F47E1 #817CEA #B4B0F2

Accessibility & contrast

On white

6.32
#4F47E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F47E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47E1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47E1#FFFFFF#000000##FFFFFF
##4F47E11.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#0059DE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f47e1;
/* rgb */ color: rgb(79, 71, 225);
/* oklch */ color: oklch(50.8% 0.224 277.1);
Tailwind
colors: {
  custom: {
    50: '#917cec',
    500: '#4f47e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f47e1;
$custom-light: #917cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47e1",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 243.117,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.22417,
    "h": 277.1
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#4F47E1
secondary
#DDE1A3
accent
#EF39E5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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