#4C46EF#4C46EF

#4C46EF is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.8% C 0.243 H 275.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4C46EF
RGBrgb(76, 70, 239)
HSLhsl(242, 84%, 61%)
HSVhsv(242, 71%, 94%)
CMYKcmyk(68.2%, 70.7%, 0%, 6.3%)
CIE-LABlab(41.45, 53.42, -83.57)
CIE-LCHlch(41.45, 99.19, 302.59°)
OKLaboklab(51.8% 0.0227 -0.2415)
OKLCHoklch(51.8% 0.243 275.4)
XYZxyz(20.7455, 12.1469, 82.8959)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46EF #E9EF46
analogous
#4694EF #4C46EF #A046EF
triadic
#4C46EF #EF4C46 #46EF4C
tetradic
#4C46EF #EF4694 #E9EF46 #46EFA0
square
#4C46EF #EF4694 #E9EF46 #46EFA0
split-complementary
#4C46EF #EFA046 #94EF46
monochromatic
#140FAC #1B14E4 #4C46EF #827EF4 #B9B7F9

Accessibility & contrast

On white

6.12
#4C46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4C46EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46EF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46EF#FFFFFF#000000##FFFFFF
##4C46EF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F4
Deuteranopia (green-blind)
#005AEC
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c46ef;
/* rgb */ color: rgb(76, 70, 239);
/* oklch */ color: oklch(51.8% 0.243 275.4);
Tailwind
colors: {
  custom: {
    50: '#937bf6',
    500: '#4c46ef',
    950: '#000000',
  },
}
SCSS
$custom: #4c46ef;
$custom-light: #937bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46ef",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 242.13,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.24261,
    "h": 275.4
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#4C46EF
secondary
#E6E9A8
accent
#E105D9
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4C46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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