#4C46E9#4C46E9

#4C46E9 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.235 H 275.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4C46E9
RGBrgb(76, 70, 233)
HSLhsl(242, 79%, 59%)
HSVhsv(242, 70%, 91%)
CMYKcmyk(67.4%, 70%, 0%, 8.6%)
CIE-LABlab(40.89, 51.54, -81.09)
CIE-LCHlch(40.89, 96.09, 302.44°)
OKLaboklab(51.23% 0.0236 -0.2343)
OKLCHoklch(51.23% 0.236 275.8)
XYZxyz(19.8738, 11.7982, 78.3049)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46E9 #E3E946
analogous
#4691E9 #4C46E9 #9E46E9
triadic
#4C46E9 #E94C46 #46E94C
tetradic
#4C46E9 #E94691 #E3E946 #46E99E
square
#4C46E9 #E94691 #E3E946 #46E99E
split-complementary
#4C46E9 #E99E46 #91E946
monochromatic
#1813A1 #211AD8 #4C46E9 #817DF0 #B6B3F6

Accessibility & contrast

On white

6.25
#4C46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4C46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46E9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46E9#FFFFFF#000000##FFFFFF
##4C46E91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EE
Deuteranopia (green-blind)
#0059E6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c46e9;
/* rgb */ color: rgb(76, 70, 233);
/* oklch */ color: oklch(51.2% 0.235 275.8);
Tailwind
colors: {
  custom: {
    50: '#927bf1',
    500: '#4c46e9',
    950: '#000000',
  },
}
SCSS
$custom: #4c46e9;
$custom-light: #927bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46e9",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 242.209,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.2355,
    "h": 275.8
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#4C46E9
secondary
#E3E5A6
accent
#F533EE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4C46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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