#4F46E9#4F46E9

#4F46E9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.235 H 276.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4F46E9
RGBrgb(79, 70, 233)
HSLhsl(243, 79%, 59%)
HSVhsv(243, 70%, 91%)
CMYKcmyk(66.1%, 70%, 0%, 8.6%)
CIE-LABlab(41.10, 51.88, -80.76)
CIE-LCHlch(41.10, 95.98, 302.72°)
OKLaboklab(51.43% 0.0273 -0.2332)
OKLCHoklch(51.43% 0.235 276.7)
XYZxyz(20.1178, 11.9240, 78.3164)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46E9 #E0E946
analogous
#468FE9 #4F46E9 #A146E9
triadic
#4F46E9 #E94F46 #46E94F
tetradic
#4F46E9 #E9468F #E0E946 #46E9A1
square
#4F46E9 #E9468F #E0E946 #46E9A1
split-complementary
#4F46E9 #E9A146 #8FE946
monochromatic
#1B13A1 #241AD8 #4F46E9 #837DF0 #B7B3F6

Accessibility & contrast

On white

6.20
#4F46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4F46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46E9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46E9#FFFFFF#000000##FFFFFF
##4F46E91.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.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: #4f46e9;
/* rgb */ color: rgb(79, 70, 233);
/* oklch */ color: oklch(51.4% 0.235 276.7);
Tailwind
colors: {
  custom: {
    50: '#937bf1',
    500: '#4f46e9',
    950: '#000000',
  },
}
SCSS
$custom: #4f46e9;
$custom-light: #937bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46e9",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 243.313,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.23483,
    "h": 276.7
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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