#4C46C8#4C46C8

#4C46C8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.195 H 278.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4C46C8
RGBrgb(76, 70, 200)
HSLhsl(243, 54%, 53%)
HSVhsv(243, 65%, 78%)
CMYKcmyk(62%, 65%, 0%, 21.6%)
CIE-LABlab(38.00, 40.97, -66.91)
CIE-LCHlch(38.00, 78.46, 301.48°)
OKLaboklab(48.26% 0.0279 -0.1928)
OKLCHoklch(48.26% 0.195 278.2)
XYZxyz(15.5926, 10.0857, 55.7574)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46C8 #C2C846
analogous
#4681C8 #4C46C8 #8D46C8
triadic
#4C46C8 #C84C46 #46C84C
tetradic
#4C46C8 #C84681 #C2C846 #46C88D
square
#4C46C8 #C84681 #C2C846 #46C88D
split-complementary
#4C46C8 #C88D46 #81C846
monochromatic
#262272 #3530A1 #4C46C8 #7A75D6 #A7A4E4

Accessibility & contrast

On white

6.96
#4C46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4C46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46C8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46C8#FFFFFF#000000##FFFFFF
##4C46C81.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c46c8;
/* rgb */ color: rgb(76, 70, 200);
/* oklch */ color: oklch(48.3% 0.195 278.2);
Tailwind
colors: {
  custom: {
    50: '#8b7ada',
    500: '#4c46c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c46c8;
$custom-light: #8b7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46c8",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 242.769,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.19481,
    "h": 278.2
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#4C46C8
secondary
#CED199
accent
#DE4AD7
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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