#4C46E8#4C46E8

#4C46E8 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.234 H 275.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4C46E8
RGBrgb(76, 70, 232)
HSLhsl(242, 78%, 59%)
HSVhsv(242, 70%, 91%)
CMYKcmyk(67.2%, 69.8%, 0%, 9%)
CIE-LABlab(40.80, 51.22, -80.68)
CIE-LCHlch(40.80, 95.57, 302.41°)
OKLaboklab(51.14% 0.0238 -0.2331)
OKLCHoklch(51.14% 0.234 275.8)
XYZxyz(19.7314, 11.7412, 77.5547)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46E8 #E2E846
analogous
#4691E8 #4C46E8 #9D46E8
triadic
#4C46E8 #E84C46 #46E84C
tetradic
#4C46E8 #E84691 #E2E846 #46E89D
square
#4C46E8 #E84691 #E2E846 #46E89D
split-complementary
#4C46E8 #E89D46 #91E846
monochromatic
#1914A0 #221BD6 #4C46E8 #817CEF #B5B3F6

Accessibility & contrast

On white

6.27
#4C46E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4C46E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46E8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46E8#FFFFFF#000000##FFFFFF
##4C46E81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067ED
Deuteranopia (green-blind)
#0059E5
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c46e8;
/* rgb */ color: rgb(76, 70, 232);
/* oklch */ color: oklch(51.1% 0.234 275.8);
Tailwind
colors: {
  custom: {
    50: '#927bf1',
    500: '#4c46e8',
    950: '#000000',
  },
}
SCSS
$custom: #4c46e8;
$custom-light: #927bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46e8",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 242.222,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.2343,
    "h": 275.8
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#4C46E8
secondary
#E2E5A5
accent
#F433ED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4C46E8

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

Preview Lab → · Contrast checker → · Palette generator →

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