#4A46BB#4A46BB

#4A46BB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.178 H 278.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4A46BB
RGBrgb(74, 70, 187)
HSLhsl(242, 46%, 50%)
HSVhsv(242, 63%, 73%)
CMYKcmyk(60.4%, 62.6%, 0%, 26.7%)
CIE-LABlab(36.79, 36.41, -61.30)
CIE-LCHlch(36.79, 71.29, 300.71°)
OKLaboklab(47.01% 0.0265 -0.1764)
OKLCHoklch(47.01% 0.178 278.5)
XYZxyz(13.9810, 9.4230, 48.0861)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A46BB #B7BB46
analogous
#467DBB #4A46BB #8446BB
triadic
#4A46BB #BB4A46 #46BB4A
tetradic
#4A46BB #BB467D #B7BB46 #46BB84
square
#4A46BB #BB467D #B7BB46 #46BB84
split-complementary
#4A46BB #BB8446 #7DBB46
monochromatic
#262462 #38358F #4A46BB #7673CB #A2A0DC

Accessibility & contrast

On white

7.28
#4A46BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4A46BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A46BB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A46BB#FFFFFF#000000##FFFFFF
##4A46BB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a46bb;
/* rgb */ color: rgb(74, 70, 187);
/* oklch */ color: oklch(47.0% 0.178 278.5);
Tailwind
colors: {
  custom: {
    50: '#887ad0',
    500: '#4a46bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a46bb;
$custom-light: #887ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a46bb",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 242.051,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.17834,
    "h": 278.5
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#4A46BB
secondary
#C7C894
accent
#D652D1
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4A46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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