#4F49E5#4F49E5

#4F49E5 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.227 H 276.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4F49E5
RGBrgb(79, 73, 229)
HSLhsl(242, 75%, 59%)
HSVhsv(242, 68%, 90%)
CMYKcmyk(65.5%, 68.1%, 0%, 10.2%)
CIE-LABlab(41.35, 48.94, -78.07)
CIE-LCHlch(41.35, 92.14, 302.08°)
OKLaboklab(51.5% 0.0259 -0.2254)
OKLCHoklch(51.5% 0.227 276.6)
XYZxyz(19.7452, 12.0828, 75.4052)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F49E5 #DFE549
analogous
#4991E5 #4F49E5 #9D49E5
triadic
#4F49E5 #E54F49 #49E54F
tetradic
#4F49E5 #E54991 #DFE549 #49E59D
square
#4F49E5 #E54991 #DFE549 #49E59D
split-complementary
#4F49E5 #E59D49 #91E549
monochromatic
#1C169D #251ED3 #4F49E5 #837FED #B7B4F4

Accessibility & contrast

On white

6.15
#4F49E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4F49E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F49E5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F49E5#FFFFFF#000000##FFFFFF
##4F49E51.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#005BE2
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f49e5;
/* rgb */ color: rgb(79, 73, 229);
/* oklch */ color: oklch(51.5% 0.227 276.6);
Tailwind
colors: {
  custom: {
    50: '#927dee',
    500: '#4f49e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f49e5;
$custom-light: #927dee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f49e5",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 242.308,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.22689,
    "h": 276.6
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#4F49E5
secondary
#E1E3A6
accent
#F236EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4F49E5

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

Preview Lab → · Contrast checker → · Palette generator →

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