#4F46D3#4F46D3

#4F46D3 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.208 H 278.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4F46D3
RGBrgb(79, 70, 211)
HSLhsl(244, 62%, 55%)
HSVhsv(244, 67%, 83%)
CMYKcmyk(62.6%, 66.8%, 0%, 17.3%)
CIE-LABlab(39.15, 44.94, -71.39)
CIE-LCHlch(39.15, 84.35, 302.19°)
OKLaboklab(49.43% 0.0304 -0.2058)
OKLCHoklch(49.43% 0.208 278.4)
XYZxyz(17.1687, 10.7444, 62.7845)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46D3 #CAD346
analogous
#4683D3 #4F46D3 #9646D3
triadic
#4F46D3 #D34F46 #46D34F
tetradic
#4F46D3 #D34683 #CAD346 #46D396
square
#4F46D3 #D34683 #CAD346 #46D396
split-complementary
#4F46D3 #D39646 #83D346
monochromatic
#251E80 #332AB2 #4F46D3 #7E77DF #ADA9EB

Accessibility & contrast

On white

6.67
#4F46D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4F46D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46D3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46D3#FFFFFF#000000##FFFFFF
##4F46D31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f46d3;
/* rgb */ color: rgb(79, 70, 211);
/* oklch */ color: oklch(49.4% 0.208 278.4);
Tailwind
colors: {
  custom: {
    50: '#8f7ae2',
    500: '#4f46d3',
    950: '#000000',
  },
}
SCSS
$custom: #4f46d3;
$custom-light: #8f7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46d3",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 243.83,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.20807,
    "h": 278.4
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#4F46D3
secondary
#D4D89D
accent
#E543DA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4F46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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