#4F47E5#4F47E5

#4F47E5 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.229 H 276.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4F47E5
RGBrgb(79, 71, 229)
HSLhsl(243, 75%, 59%)
HSVhsv(243, 69%, 90%)
CMYKcmyk(65.5%, 69%, 0%, 10.2%)
CIE-LABlab(40.94, 50.07, -78.75)
CIE-LCHlch(40.94, 93.32, 302.45°)
OKLaboklab(51.2% 0.0273 -0.2274)
OKLCHoklch(51.2% 0.229 276.8)
XYZxyz(19.6159, 11.8242, 75.3621)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47E5 #DDE547
analogous
#478EE5 #4F47E5 #9E47E5
triadic
#4F47E5 #E54F47 #47E54F
tetradic
#4F47E5 #E5478E #DDE547 #47E59E
square
#4F47E5 #E5478E #DDE547 #47E59E
split-complementary
#4F47E5 #E59E47 #8EE547
monochromatic
#1D169C #271ED1 #4F47E5 #827DED #B6B2F4

Accessibility & contrast

On white

6.24
#4F47E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F47E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47E5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47E5#FFFFFF#000000##FFFFFF
##4F47E51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f47e5;
/* rgb */ color: rgb(79, 71, 229);
/* oklch */ color: oklch(51.2% 0.229 276.8);
Tailwind
colors: {
  custom: {
    50: '#927cee',
    500: '#4f47e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f47e5;
$custom-light: #927cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47e5",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 243.038,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51203,
    "c": 0.22901,
    "h": 276.8
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#4F47E5
secondary
#E0E3A5
accent
#F236E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4F47E5

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

Preview Lab → · Contrast checker → · Palette generator →

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