#4C4ABC#4C4ABC

#4C4ABC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.174 H 278.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4C4ABC
RGBrgb(76, 74, 188)
HSLhsl(241, 46%, 51%)
HSVhsv(241, 61%, 74%)
CMYKcmyk(59.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(37.96, 34.61, -59.97)
CIE-LCHlch(37.96, 69.24, 299.99°)
OKLaboklab(47.93% 0.0253 -0.1724)
OKLCHoklch(47.93% 0.174 278.3)
XYZxyz(14.5035, 10.0638, 48.7454)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ABC #BABC4A
analogous
#4A81BC #4C4ABC #854ABC
triadic
#4C4ABC #BC4C4A #4ABC4C
tetradic
#4C4ABC #BC4A81 #BABC4A #4ABC85
square
#4C4ABC #BC4A81 #BABC4A #4ABC85
split-complementary
#4C4ABC #BC854A #81BC4A
monochromatic
#272666 #383693 #4C4ABC #7877CD #A4A3DD

Accessibility & contrast

On white

6.97
#4C4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4C4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ABC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ABC#FFFFFF#000000##FFFFFF
##4C4ABC1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c4abc;
/* rgb */ color: rgb(76, 74, 188);
/* oklch */ color: oklch(47.9% 0.174 278.3);
Tailwind
colors: {
  custom: {
    50: '#897dd1',
    500: '#4c4abc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4abc;
$custom-light: #897dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4abc",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 241.053,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.17423,
    "h": 278.3
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#4C4ABC
secondary
#C9CA98
accent
#D652D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4C4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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