#4C46BB#4C46BB

#4C46BB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.178 H 279.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4C46BB
RGBrgb(76, 70, 187)
HSLhsl(243, 46%, 50%)
HSVhsv(243, 63%, 73%)
CMYKcmyk(59.4%, 62.6%, 0%, 26.7%)
CIE-LABlab(36.94, 36.74, -61.04)
CIE-LCHlch(36.94, 71.25, 301.05°)
OKLaboklab(47.15% 0.029 -0.1756)
OKLCHoklch(47.15% 0.178 279.4)
XYZxyz(14.1374, 9.5037, 48.0935)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46BB #B5BB46
analogous
#467ABB #4C46BB #8646BB
triadic
#4C46BB #BB4C46 #46BB4C
tetradic
#4C46BB #BB467A #B5BB46 #46BB86
square
#4C46BB #BB467A #B5BB46 #46BB86
split-complementary
#4C46BB #BB8646 #7ABB46
monochromatic
#272462 #39358F #4C46BB #7773CB #A3A0DC

Accessibility & contrast

On white

7.24
#4C46BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4C46BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C46BB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46BB#FFFFFF#000000##FFFFFF
##4C46BB1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.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: #4c46bb;
/* rgb */ color: rgb(76, 70, 187);
/* oklch */ color: oklch(47.2% 0.178 279.4);
Tailwind
colors: {
  custom: {
    50: '#897ad0',
    500: '#4c46bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c46bb;
$custom-light: #897ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46bb",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 243.077,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.17795,
    "h": 279.4
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#4C46BB
secondary
#C6C894
accent
#D652CF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4C46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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