#4F46D5#4F46D5

#4F46D5 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.211 H 278.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4F46D5
RGBrgb(79, 70, 213)
HSLhsl(244, 63%, 55%)
HSVhsv(244, 67%, 84%)
CMYKcmyk(62.9%, 67.1%, 0%, 16.5%)
CIE-LABlab(39.32, 45.58, -72.26)
CIE-LCHlch(39.32, 85.43, 302.24°)
OKLaboklab(49.61% 0.0302 -0.2084)
OKLCHoklch(49.61% 0.211 278.2)
XYZxyz(17.4210, 10.8453, 64.1132)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46D5 #CCD546
analogous
#4684D5 #4F46D5 #9646D5
triadic
#4F46D5 #D54F46 #46D54F
tetradic
#4F46D5 #D54684 #CCD546 #46D596
square
#4F46D5 #D54684 #CCD546 #46D596
split-complementary
#4F46D5 #D59646 #84D546
monochromatic
#241E83 #3229B5 #4F46D5 #7E78E0 #AEAAEC

Accessibility & contrast

On white

6.63
#4F46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4F46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46D5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46D5#FFFFFF#000000##FFFFFF
##4F46D51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f46d5;
/* rgb */ color: rgb(79, 70, 213);
/* oklch */ color: oklch(49.6% 0.211 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f7be3',
    500: '#4f46d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f46d5;
$custom-light: #8f7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46d5",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 243.776,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.21055,
    "h": 278.2
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#4F46D5
secondary
#D5D99E
accent
#E642DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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