#4F46AC#4F46AC

#4F46AC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.157 H 282.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4F46AC
RGBrgb(79, 70, 172)
HSLhsl(245, 42%, 47%)
HSVhsv(245, 59%, 67%)
CMYKcmyk(54.1%, 59.3%, 0%, 32.5%)
CIE-LABlab(36.02, 32.44, -53.65)
CIE-LCHlch(36.02, 62.69, 301.16°)
OKLaboklab(46.18% 0.0335 -0.1537)
OKLCHoklch(46.18% 0.157 282.3)
XYZxyz(12.8587, 9.0204, 40.0853)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46AC #A3AC46
analogous
#4670AC #4F46AC #8246AC
triadic
#4F46AC #AC4F46 #46AC4F
tetradic
#4F46AC #AC4670 #A3AC46 #46AC82
square
#4F46AC #AC4670 #A3AC46 #46AC82
split-complementary
#4F46AC #AC8246 #70AC46
monochromatic
#272355 #3B3481 #4F46AC #746CC3 #9D98D5

Accessibility & contrast

On white

7.49
#4F46AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4F46AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F46AC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46AC#FFFFFF#000000##FFFFFF
##4F46AC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#265E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f46ac;
/* rgb */ color: rgb(79, 70, 172);
/* oklch */ color: oklch(46.2% 0.157 282.3);
Tailwind
colors: {
  custom: {
    50: '#887ac5',
    500: '#4f46ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f46ac;
$custom-light: #887ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46ac",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 245.294,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.15734,
    "h": 282.3
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#4F46AC
secondary
#BCC18D
accent
#D256C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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