#4946AC#4946AC

#4946AC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.158 H 279.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4946AC
RGBrgb(73, 70, 172)
HSLhsl(242, 42%, 47%)
HSVhsv(242, 59%, 67%)
CMYKcmyk(57.6%, 59.3%, 0%, 32.5%)
CIE-LABlab(35.55, 31.28, -54.44)
CIE-LCHlch(35.55, 62.79, 299.88°)
OKLaboklab(45.71% 0.0259 -0.1562)
OKLCHoklch(45.71% 0.158 279.4)
XYZxyz(12.3819, 8.7745, 40.0629)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4946AC #A9AC46
analogous
#4676AC #4946AC #7C46AC
triadic
#4946AC #AC4946 #46AC49
tetradic
#4946AC #AC4676 #A9AC46 #46AC7C
square
#4946AC #AC4676 #A9AC46 #46AC7C
split-complementary
#4946AC #AC7C46 #76AC46
monochromatic
#242355 #373481 #4946AC #6F6CC3 #9998D5

Accessibility & contrast

On white

7.62
#4946AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4946AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4946AC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4946AC#FFFFFF#000000##FFFFFF
##4946AC1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#105E72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4946ac;
/* rgb */ color: rgb(73, 70, 172);
/* oklch */ color: oklch(45.7% 0.158 279.4);
Tailwind
colors: {
  custom: {
    50: '#8579c5',
    500: '#4946ac',
    950: '#000000',
  },
}
SCSS
$custom: #4946ac;
$custom-light: #8579c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4946ac",
  "rgb": {
    "r": 73,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 241.765,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.15838,
    "h": 279.4
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#4946AC
secondary
#BFC18D
accent
#D256CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4946AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4946AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva