#4C46CB#4C46CB

#4C46CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.199 H 278.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4C46CB
RGBrgb(76, 70, 203)
HSLhsl(243, 56%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.6%, 65.5%, 0%, 20.4%)
CIE-LABlab(38.25, 41.94, -68.24)
CIE-LCHlch(38.25, 80.10, 301.58°)
OKLaboklab(48.52% 0.0276 -0.1967)
OKLCHoklch(48.52% 0.199 278)
XYZxyz(15.9467, 10.2274, 57.6221)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46CB #C5CB46
analogous
#4682CB #4C46CB #8E46CB
triadic
#4C46CB #CB4C46 #46CB4C
tetradic
#4C46CB #CB4682 #C5CB46 #46CB8E
square
#4C46CB #CB4682 #C5CB46 #46CB8E
split-complementary
#4C46CB #CB8E46 #82CB46
monochromatic
#252176 #342EA5 #4C46CB #7A76D8 #A8A6E6

Accessibility & contrast

On white

6.89
#4C46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4C46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46CB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46CB#FFFFFF#000000##FFFFFF
##4C46CB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c46cb;
/* rgb */ color: rgb(76, 70, 203);
/* oklch */ color: oklch(48.5% 0.199 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c7adc',
    500: '#4c46cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c46cb;
$custom-light: #8c7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46cb",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 242.707,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48516,
    "c": 0.19863,
    "h": 278
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#4C46CB
secondary
#D0D39A
accent
#DF48D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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