#4F46E4#4F46E4

#4F46E4 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.0% C 0.229 H 277.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4F46E4
RGBrgb(79, 70, 228)
HSLhsl(243, 75%, 58%)
HSVhsv(243, 69%, 89%)
CMYKcmyk(65.4%, 69.3%, 0%, 10.6%)
CIE-LABlab(40.64, 50.31, -78.66)
CIE-LCHlch(40.64, 93.38, 302.60°)
OKLaboklab(50.97% 0.0281 -0.2271)
OKLCHoklch(50.97% 0.229 277)
XYZxyz(19.4136, 11.6424, 74.6079)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46E4 #DBE446
analogous
#468CE4 #4F46E4 #9E46E4
triadic
#4F46E4 #E44F46 #46E44F
tetradic
#4F46E4 #E4468C #DBE446 #46E49E
square
#4F46E4 #E4468C #DBE446 #46E49E
split-complementary
#4F46E4 #E49E46 #8CE446
monochromatic
#1E1699 #281ECF #4F46E4 #827BEC #B5B1F4

Accessibility & contrast

On white

6.31
#4F46E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F46E4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46E4#FFFFFF#000000##FFFFFF
##4F46E41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E9
Deuteranopia (green-blind)
#0059E1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f46e4;
/* rgb */ color: rgb(79, 70, 228);
/* oklch */ color: oklch(51.0% 0.229 277.0);
Tailwind
colors: {
  custom: {
    50: '#927bee',
    500: '#4f46e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f46e4;
$custom-light: #927bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46e4",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 243.418,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.22886,
    "h": 277
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#4F46E4
secondary
#DFE2A4
accent
#F137E7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4F46E4

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

Preview Lab → · Contrast checker → · Palette generator →

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