#4F46D8#4F46D8

#4F46D8 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.214 H 278.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4F46D8
RGBrgb(79, 70, 216)
HSLhsl(244, 65%, 56%)
HSVhsv(244, 68%, 85%)
CMYKcmyk(63.4%, 67.6%, 0%, 15.3%)
CIE-LABlab(39.58, 46.53, -73.55)
CIE-LCHlch(39.58, 87.03, 302.32°)
OKLaboklab(49.88% 0.0298 -0.2122)
OKLCHoklch(49.88% 0.214 278)
XYZxyz(17.8053, 10.9990, 66.1372)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46D8 #CFD846
analogous
#4686D8 #4F46D8 #9846D8
triadic
#4F46D8 #D84F46 #46D84F
tetradic
#4F46D8 #D84686 #CFD846 #46D898
square
#4F46D8 #D84686 #CFD846 #46D898
split-complementary
#4F46D8 #D89846 #86D846
monochromatic
#231C87 #3027BA #4F46D8 #7F79E3 #AFABED

Accessibility & contrast

On white

6.56
#4F46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4F46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46D8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46D8#FFFFFF#000000##FFFFFF
##4F46D81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0057D5
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f46d8;
/* rgb */ color: rgb(79, 70, 216);
/* oklch */ color: oklch(49.9% 0.214 278.0);
Tailwind
colors: {
  custom: {
    50: '#907be5',
    500: '#4f46d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f46d8;
$custom-light: #907be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46d8",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 243.699,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.21426,
    "h": 278
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#4F46D8
secondary
#D7DB9F
accent
#E840DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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