#4A46C4#4A46C4

#4A46C4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.190 H 277.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4A46C4
RGBrgb(74, 70, 196)
HSLhsl(242, 52%, 52%)
HSVhsv(242, 64%, 77%)
CMYKcmyk(62.2%, 64.3%, 0%, 23.1%)
CIE-LABlab(37.52, 39.37, -65.37)
CIE-LCHlch(37.52, 76.31, 301.06°)
OKLaboklab(47.77% 0.0258 -0.1883)
OKLCHoklch(47.77% 0.19 277.8)
XYZxyz(14.9748, 9.8205, 53.3203)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A46C4 #C0C446
analogous
#4681C4 #4A46C4 #8946C4
triadic
#4A46C4 #C44A46 #46C44A
tetradic
#4A46C4 #C44681 #C0C446 #46C489
square
#4A46C4 #C44681 #C0C446 #46C489
split-complementary
#4A46C4 #C48946 #81C446
monochromatic
#25236D #35329B #4A46C4 #7774D3 #A5A3E2

Accessibility & contrast

On white

7.08
#4A46C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4A46C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A46C4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A46C4#FFFFFF#000000##FFFFFF
##4A46C41.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a46c4;
/* rgb */ color: rgb(74, 70, 196);
/* oklch */ color: oklch(47.8% 0.190 277.8);
Tailwind
colors: {
  custom: {
    50: '#8a7ad7',
    500: '#4a46c4',
    950: '#000000',
  },
}
SCSS
$custom: #4a46c4;
$custom-light: #8a7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a46c4",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 241.905,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.19009,
    "h": 277.8
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#4A46C4
secondary
#CDCE97
accent
#DB4DD7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4A46C4

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

Preview Lab → · Contrast checker → · Palette generator →

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