#4C4CC7#4C4CC7

#4C4CC7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.186 H 277.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4C4CC7
RGBrgb(76, 76, 199)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 62%, 78%)
CMYKcmyk(61.8%, 61.8%, 0%, 22%)
CIE-LABlab(39.29, 37.02, -64.22)
CIE-LCHlch(39.29, 74.13, 299.96°)
OKLaboklab(49.17% 0.0229 -0.1849)
OKLCHoklch(49.17% 0.186 277.1)
XYZxyz(15.8704, 10.8277, 55.2754)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CC7 #C7C74C
analogous
#4C8AC7 #4C4CC7 #8A4CC7
triadic
#4C4CC7 #C74C4C #4CC74C
tetradic
#4C4CC7 #C74C8A #C7C74C #4CC78A
square
#4C4CC7 #C74C8A #C7C74C #4CC78A
split-complementary
#4C4CC7 #C78A4C #8AC74C
monochromatic
#242474 #3333A3 #4C4CC7 #7B7BD6 #A9A9E4

Accessibility & contrast

On white

6.63
#4C4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4C4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CC7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CC7#FFFFFF#000000##FFFFFF
##4C4CC71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c4cc7;
/* rgb */ color: rgb(76, 76, 199);
/* oklch */ color: oklch(49.2% 0.186 277.1);
Tailwind
colors: {
  custom: {
    50: '#8b7ed9',
    500: '#4c4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cc7;
$custom-light: #8b7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cc7",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 240,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.18629,
    "h": 277.1
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#4C4CC7
secondary
#D2D29D
accent
#DC4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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