#4C46CD#4C46CD

#4C46CD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.201 H 277.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4C46CD
RGBrgb(76, 70, 205)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.9%, 65.9%, 0%, 19.6%)
CIE-LABlab(38.42, 42.59, -69.13)
CIE-LCHlch(38.42, 81.19, 301.64°)
OKLaboklab(48.69% 0.0274 -0.1993)
OKLCHoklch(48.69% 0.201 277.8)
XYZxyz(16.1865, 10.3233, 58.8854)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46CD #C7CD46
analogous
#4684CD #4C46CD #9046CD
triadic
#4C46CD #CD4C46 #46CD4C
tetradic
#4C46CD #CD4684 #C7CD46 #46CD90
square
#4C46CD #CD4684 #C7CD46 #46CD90
split-complementary
#4C46CD #CD9046 #84CD46
monochromatic
#242078 #332DA8 #4C46CD #7B76DA #A9A6E7

Accessibility & contrast

On white

6.85
#4C46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4C46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46CD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46CD#FFFFFF#000000##FFFFFF
##4C46CD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c46cd;
/* rgb */ color: rgb(76, 70, 205);
/* oklch */ color: oklch(48.7% 0.201 277.8);
Tailwind
colors: {
  custom: {
    50: '#8c7add',
    500: '#4c46cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c46cd;
$custom-light: #8c7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46cd",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 242.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.20116,
    "h": 277.8
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#4C46CD
secondary
#D2D49B
accent
#E147DA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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