#4C4CCF#4C4CCF

#4C4CCF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.197 H 276.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4C4CCF
RGBrgb(76, 76, 207)
HSLhsl(240, 58%, 55%)
HSVhsv(240, 63%, 81%)
CMYKcmyk(63.3%, 63.3%, 0%, 18.8%)
CIE-LABlab(39.93, 39.66, -67.81)
CIE-LCHlch(39.93, 78.55, 300.32°)
OKLaboklab(49.84% 0.0224 -0.1954)
OKLCHoklch(49.84% 0.197 276.6)
XYZxyz(16.8238, 11.2090, 60.2964)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CCF #CFCF4C
analogous
#4C8DCF #4C4CCF #8D4CCF
triadic
#4C4CCF #CF4C4C #4CCF4C
tetradic
#4C4CCF #CF4C8D #CFCF4C #4CCF8D
square
#4C4CCF #CF4C8D #CFCF4C #4CCF8D
split-complementary
#4C4CCF #CF8D4C #8DCF4C
monochromatic
#22227F #2F2FAF #4C4CCF #7C7CDC #ADADE9

Accessibility & contrast

On white

6.48
#4C4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4C4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CCF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CCF#FFFFFF#000000##FFFFFF
##4C4CCF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4ccf;
/* rgb */ color: rgb(76, 76, 207);
/* oklch */ color: oklch(49.8% 0.197 276.6);
Tailwind
colors: {
  custom: {
    50: '#8c7edf',
    500: '#4c4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ccf;
$custom-light: #8c7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ccf",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.19668,
    "h": 276.6
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#4C4CCF
secondary
#D7D7A0
accent
#E147E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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