#4C46CF#4C46CF

#4C46CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.204 H 277.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4C46CF
RGBrgb(76, 70, 207)
HSLhsl(243, 59%, 54%)
HSVhsv(243, 66%, 81%)
CMYKcmyk(63.3%, 66.2%, 0%, 18.8%)
CIE-LABlab(38.59, 43.24, -70.00)
CIE-LCHlch(38.59, 82.28, 301.70°)
OKLaboklab(48.87% 0.0272 -0.2019)
OKLCHoklch(48.87% 0.204 277.7)
XYZxyz(16.4295, 10.4205, 60.1649)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46CF #C9CF46
analogous
#4685CF #4C46CF #9146CF
triadic
#4C46CF #CF4C46 #46CF4C
tetradic
#4C46CF #CF4685 #C9CF46 #46CF91
square
#4C46CF #CF4685 #C9CF46 #46CF91
split-complementary
#4C46CF #CF9146 #85CF46
monochromatic
#24207B #322CAB #4C46CF #7B77DC #AAA7E8

Accessibility & contrast

On white

6.81
#4C46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4C46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46CF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46CF#FFFFFF#000000##FFFFFF
##4C46CF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c46cf;
/* rgb */ color: rgb(76, 70, 207);
/* oklch */ color: oklch(48.9% 0.204 277.7);
Tailwind
colors: {
  custom: {
    50: '#8d7adf',
    500: '#4c46cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c46cf;
$custom-light: #8d7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46cf",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 242.628,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.20368,
    "h": 277.7
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#4C46CF
secondary
#D3D59B
accent
#E246DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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