#4F49E1#4F49E1

#4F49E1 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.1% C 0.222 H 276.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4F49E1
RGBrgb(79, 73, 225)
HSLhsl(242, 72%, 58%)
HSVhsv(242, 68%, 88%)
CMYKcmyk(64.9%, 67.6%, 0%, 11.8%)
CIE-LABlab(41.00, 47.67, -76.37)
CIE-LCHlch(41.00, 90.03, 301.97°)
OKLaboklab(51.14% 0.0265 -0.2204)
OKLCHoklch(51.14% 0.222 276.8)
XYZxyz(19.1932, 11.8620, 72.4977)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F49E1 #DBE149
analogous
#498FE1 #4F49E1 #9B49E1
triadic
#4F49E1 #E14F49 #49E14F
tetradic
#4F49E1 #E1498F #DBE149 #49E19B
square
#4F49E1 #E1498F #DBE149 #49E19B
split-complementary
#4F49E1 #E19B49 #8FE149
monochromatic
#1E1997 #2822CB #4F49E1 #827EEA #B5B2F2

Accessibility & contrast

On white

6.23
#4F49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F49E1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F49E1#FFFFFF#000000##FFFFFF
##4F49E11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f49e1;
/* rgb */ color: rgb(79, 73, 225);
/* oklch */ color: oklch(51.1% 0.222 276.8);
Tailwind
colors: {
  custom: {
    50: '#917dec',
    500: '#4f49e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f49e1;
$custom-light: #917dec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f49e1",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 242.368,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.22201,
    "h": 276.8
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#4F49E1
secondary
#DFE1A5
accent
#EE39E7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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