#4F46D9#4F46D9

#4F46D9 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.215 H 277.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4F46D9
RGBrgb(79, 70, 217)
HSLhsl(244, 66%, 56%)
HSVhsv(244, 68%, 85%)
CMYKcmyk(63.6%, 67.7%, 0%, 14.9%)
CIE-LABlab(39.67, 46.85, -73.98)
CIE-LCHlch(39.67, 87.57, 302.34°)
OKLaboklab(49.97% 0.0297 -0.2134)
OKLCHoklch(49.97% 0.215 277.9)
XYZxyz(17.9350, 11.0509, 66.8201)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46D9 #D0D946
analogous
#4687D9 #4F46D9 #9846D9
triadic
#4F46D9 #D94F46 #46D94F
tetradic
#4F46D9 #D94687 #D0D946 #46D998
square
#4F46D9 #D94687 #D0D946 #46D998
split-complementary
#4F46D9 #D99846 #87D946
monochromatic
#231C89 #3026BB #4F46D9 #7F79E3 #B0ACEE

Accessibility & contrast

On white

6.54
#4F46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4F46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46D9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46D9#FFFFFF#000000##FFFFFF
##4F46D91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DD
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f46d9;
/* rgb */ color: rgb(79, 70, 217);
/* oklch */ color: oklch(50.0% 0.215 277.9);
Tailwind
colors: {
  custom: {
    50: '#907be6',
    500: '#4f46d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f46d9;
$custom-light: #907be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46d9",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 243.673,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.21549,
    "h": 277.9
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#4F46D9
secondary
#D8DC9F
accent
#E93FDE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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