#4F46D2#4F46D2

#4F46D2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.3% C 0.207 H 278.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#4F46D2
RGBrgb(79, 70, 210)
HSLhsl(244, 61%, 55%)
HSVhsv(244, 67%, 82%)
CMYKcmyk(62.4%, 66.7%, 0%, 17.6%)
CIE-LABlab(39.06, 44.62, -70.95)
CIE-LCHlch(39.06, 83.82, 302.17°)
OKLaboklab(49.34% 0.0306 -0.2045)
OKLCHoklch(49.34% 0.207 278.5)
XYZxyz(17.0437, 10.6944, 62.1263)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46D2 #C9D246
analogous
#4683D2 #4F46D2 #9546D2
triadic
#4F46D2 #D24F46 #46D24F
tetradic
#4F46D2 #D24683 #C9D246 #46D295
square
#4F46D2 #D24683 #C9D246 #46D295
split-complementary
#4F46D2 #D29546 #83D246
monochromatic
#251F7F #332BB0 #4F46D2 #7E77DE #ADA8EA

Accessibility & contrast

On white

6.69
#4F46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4F46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46D2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46D2#FFFFFF#000000##FFFFFF
##4F46D21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f46d2;
/* rgb */ color: rgb(79, 70, 210);
/* oklch */ color: oklch(49.3% 0.207 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ae1',
    500: '#4f46d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f46d2;
$custom-light: #8f7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46d2",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 243.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49344,
    "c": 0.20682,
    "h": 278.5
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#4F46D2
secondary
#D4D79C
accent
#E444DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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