#4F47E0#4F47E0

#4F47E0 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.223 H 277.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4F47E0
RGBrgb(79, 71, 224)
HSLhsl(243, 71%, 58%)
HSVhsv(243, 68%, 88%)
CMYKcmyk(64.7%, 68.3%, 0%, 12.2%)
CIE-LABlab(40.49, 48.49, -76.63)
CIE-LCHlch(40.49, 90.69, 302.32°)
OKLaboklab(50.75% 0.028 -0.2212)
OKLCHoklch(50.75% 0.223 277.2)
XYZxyz(18.9279, 11.5490, 71.7383)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47E0 #D8E047
analogous
#478CE0 #4F47E0 #9B47E0
triadic
#4F47E0 #E04F47 #47E04F
tetradic
#4F47E0 #E0478C #D8E047 #47E09B
square
#4F47E0 #E0478C #D8E047 #47E09B
split-complementary
#4F47E0 #E09B47 #8CE047
monochromatic
#1F1994 #2A22C8 #4F47E0 #817BE9 #B3B0F2

Accessibility & contrast

On white

6.34
#4F47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4F47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47E0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47E0#FFFFFF#000000##FFFFFF
##4F47E01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#0059DD
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f47e0;
/* rgb */ color: rgb(79, 71, 224);
/* oklch */ color: oklch(50.7% 0.223 277.2);
Tailwind
colors: {
  custom: {
    50: '#917beb',
    500: '#4f47e0',
    950: '#000000',
  },
}
SCSS
$custom: #4f47e0;
$custom-light: #917beb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47e0",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 243.137,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.22296,
    "h": 277.2
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#4F47E0
secondary
#DDE0A3
accent
#EE3AE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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