#4C46CA#4C46CA

#4C46CA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.197 H 278.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4C46CA
RGBrgb(76, 70, 202)
HSLhsl(243, 55%, 53%)
HSVhsv(243, 65%, 79%)
CMYKcmyk(62.4%, 65.3%, 0%, 20.8%)
CIE-LABlab(38.16, 41.62, -67.80)
CIE-LCHlch(38.16, 79.56, 301.55°)
OKLaboklab(48.43% 0.0277 -0.1954)
OKLCHoklch(48.43% 0.197 278.1)
XYZxyz(15.8279, 10.1798, 56.9965)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46CA #C4CA46
analogous
#4682CA #4C46CA #8E46CA
triadic
#4C46CA #CA4C46 #46CA4C
tetradic
#4C46CA #CA4682 #C4CA46 #46CA8E
square
#4C46CA #CA4682 #C4CA46 #46CA8E
split-complementary
#4C46CA #CA8E46 #82CA46
monochromatic
#252174 #342FA4 #4C46CA #7A76D8 #A8A5E5

Accessibility & contrast

On white

6.92
#4C46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4C46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46CA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46CA#FFFFFF#000000##FFFFFF
##4C46CA1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c46ca;
/* rgb */ color: rgb(76, 70, 202);
/* oklch */ color: oklch(48.4% 0.197 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c7adb',
    500: '#4c46ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c46ca;
$custom-light: #8c7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46ca",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 242.727,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.19736,
    "h": 278.1
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#4C46CA
secondary
#D0D29A
accent
#DF49D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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