#4F47E9#4F47E9

#4F47E9 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.234 H 276.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F47E9
RGBrgb(79, 71, 233)
HSLhsl(243, 79%, 60%)
HSVhsv(243, 70%, 91%)
CMYKcmyk(66.1%, 69.5%, 0%, 8.6%)
CIE-LABlab(41.30, 51.32, -80.43)
CIE-LCHlch(41.30, 95.41, 302.54°)
OKLaboklab(51.57% 0.0266 -0.2323)
OKLCHoklch(51.57% 0.234 276.5)
XYZxyz(20.1809, 12.0502, 78.3374)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47E9 #E1E947
analogous
#4790E9 #4F47E9 #A047E9
triadic
#4F47E9 #E94F47 #47E94F
tetradic
#4F47E9 #E94790 #E1E947 #47E9A0
square
#4F47E9 #E94790 #E1E947 #47E9A0
split-complementary
#4F47E9 #E9A047 #90E947
monochromatic
#1A13A2 #231AD9 #4F47E9 #837EF0 #B8B4F6

Accessibility & contrast

On white

6.16
#4F47E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F47E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47E9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47E9#FFFFFF#000000##FFFFFF
##4F47E91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EE
Deuteranopia (green-blind)
#005AE6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f47e9;
/* rgb */ color: rgb(79, 71, 233);
/* oklch */ color: oklch(51.6% 0.234 276.5);
Tailwind
colors: {
  custom: {
    50: '#937cf1',
    500: '#4f47e9',
    950: '#000000',
  },
}
SCSS
$custom: #4f47e9;
$custom-light: #937cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47e9",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 233
  },
  "hsl": {
    "h": 242.963,
    "s": 78.641,
    "l": 59.608
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.2338,
    "h": 276.5
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#4F47E9
secondary
#E2E5A6
accent
#F533EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4F47E9

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

Preview Lab → · Contrast checker → · Palette generator →

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