#4A46AC#4A46AC

#4A46AC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.158 H 279.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4A46AC
RGBrgb(74, 70, 172)
HSLhsl(242, 42%, 47%)
HSVhsv(242, 59%, 67%)
CMYKcmyk(57%, 59.3%, 0%, 32.5%)
CIE-LABlab(35.62, 31.47, -54.31)
CIE-LCHlch(35.62, 62.77, 300.09°)
OKLaboklab(45.79% 0.0271 -0.1558)
OKLCHoklch(45.79% 0.158 279.9)
XYZxyz(12.4583, 8.8139, 40.0665)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A46AC #A8AC46
analogous
#4675AC #4A46AC #7D46AC
triadic
#4A46AC #AC4A46 #46AC4A
tetradic
#4A46AC #AC4675 #A8AC46 #46AC7D
square
#4A46AC #AC4675 #A8AC46 #46AC7D
split-complementary
#4A46AC #AC7D46 #75AC46
monochromatic
#252355 #373481 #4A46AC #6F6CC3 #9A98D5

Accessibility & contrast

On white

7.60
#4A46AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4A46AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A46AC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A46AC#FFFFFF#000000##FFFFFF
##4A46AC1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a46ac;
/* rgb */ color: rgb(74, 70, 172);
/* oklch */ color: oklch(45.8% 0.158 279.9);
Tailwind
colors: {
  custom: {
    50: '#8679c5',
    500: '#4a46ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a46ac;
$custom-light: #8679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a46ac",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 242.353,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.15818,
    "h": 279.9
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#4A46AC
secondary
#BFC18D
accent
#D256CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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