#4C46CC#4C46CC

#4C46CC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.200 H 277.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4C46CC
RGBrgb(76, 70, 204)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.7%, 65.7%, 0%, 20%)
CIE-LABlab(38.33, 42.27, -68.68)
CIE-LCHlch(38.33, 80.65, 301.61°)
OKLaboklab(48.6% 0.0275 -0.198)
OKLCHoklch(48.6% 0.2 277.9)
XYZxyz(16.0662, 10.2752, 58.2517)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46CC #C6CC46
analogous
#4683CC #4C46CC #8F46CC
triadic
#4C46CC #CC4C46 #46CC4C
tetradic
#4C46CC #CC4683 #C6CC46 #46CC8F
square
#4C46CC #CC4683 #C6CC46 #46CC8F
split-complementary
#4C46CC #CC8F46 #83CC46
monochromatic
#252177 #332EA7 #4C46CC #7A76D9 #A9A6E6

Accessibility & contrast

On white

6.87
#4C46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4C46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46CC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46CC#FFFFFF#000000##FFFFFF
##4C46CC1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c46cc;
/* rgb */ color: rgb(76, 70, 204);
/* oklch */ color: oklch(48.6% 0.200 277.9);
Tailwind
colors: {
  custom: {
    50: '#8c7add',
    500: '#4c46cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c46cc;
$custom-light: #8c7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46cc",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 242.687,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.19989,
    "h": 277.9
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#4C46CC
secondary
#D1D49A
accent
#E048D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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