#4F46D4#4F46D4

#4F46D4 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.209 H 278.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4F46D4
RGBrgb(79, 70, 212)
HSLhsl(244, 62%, 55%)
HSVhsv(244, 67%, 83%)
CMYKcmyk(62.7%, 67%, 0%, 16.9%)
CIE-LABlab(39.23, 45.26, -71.82)
CIE-LCHlch(39.23, 84.89, 302.22°)
OKLaboklab(49.52% 0.0303 -0.2071)
OKLCHoklch(49.52% 0.209 278.3)
XYZxyz(17.2945, 10.7947, 63.4468)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46D4 #CBD446
analogous
#4684D4 #4F46D4 #9646D4
triadic
#4F46D4 #D44F46 #46D44F
tetradic
#4F46D4 #D44684 #CBD446 #46D496
square
#4F46D4 #D44684 #CBD446 #46D496
split-complementary
#4F46D4 #D49646 #84D446
monochromatic
#241E81 #322AB3 #4F46D4 #7E78E0 #ADA9EB

Accessibility & contrast

On white

6.65
#4F46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4F46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46D4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46D4#FFFFFF#000000##FFFFFF
##4F46D41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f46d4;
/* rgb */ color: rgb(79, 70, 212);
/* oklch */ color: oklch(49.5% 0.209 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f7ae2',
    500: '#4f46d4',
    950: '#000000',
  },
}
SCSS
$custom: #4f46d4;
$custom-light: #8f7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46d4",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 243.803,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.20931,
    "h": 278.3
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#4F46D4
secondary
#D5D99D
accent
#E542DB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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