#4F47E2#4F47E2

#4F47E2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.225 H 277.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4F47E2
RGBrgb(79, 71, 226)
HSLhsl(243, 73%, 58%)
HSVhsv(243, 69%, 89%)
CMYKcmyk(65%, 68.6%, 0%, 11.4%)
CIE-LABlab(40.67, 49.12, -77.48)
CIE-LCHlch(40.67, 91.74, 302.37°)
OKLaboklab(50.93% 0.0277 -0.2237)
OKLCHoklch(50.93% 0.225 277.1)
XYZxyz(19.2007, 11.6581, 73.1752)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47E2 #DAE247
analogous
#478CE2 #4F47E2 #9C47E2
triadic
#4F47E2 #E24F47 #47E24F
tetradic
#4F47E2 #E2478C #DAE247 #47E29C
square
#4F47E2 #E2478C #DAE247 #47E29C
split-complementary
#4F47E2 #E29C47 #8CE247
monochromatic
#1E1897 #2920CC #4F47E2 #827CEA #B4B1F3

Accessibility & contrast

On white

6.30
#4F47E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4F47E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47E2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47E2#FFFFFF#000000##FFFFFF
##4F47E21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f47e2;
/* rgb */ color: rgb(79, 71, 226);
/* oklch */ color: oklch(50.9% 0.225 277.1);
Tailwind
colors: {
  custom: {
    50: '#927cec',
    500: '#4f47e2',
    950: '#000000',
  },
}
SCSS
$custom: #4f47e2;
$custom-light: #927cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47e2",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 243.097,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.22539,
    "h": 277.1
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#4F47E2
secondary
#DEE1A4
accent
#EF38E6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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