#4C6CCC#4C6CCC

#4C6CCC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.6% C 0.153 H 267.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4C6CCC
RGBrgb(76, 108, 204)
HSLhsl(225, 56%, 55%)
HSVhsv(225, 63%, 80%)
CMYKcmyk(62.7%, 47.1%, 0%, 20%)
CIE-LABlab(47.78, 18.67, -53.38)
CIE-LCHlch(47.78, 56.55, 289.28°)
OKLaboklab(55.65% -0.0068 -0.1526)
OKLCHoklch(55.65% 0.153 267.4)
XYZxyz(19.2384, 16.6196, 59.3091)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CCC #CCAC4C
analogous
#4CACCC #4C6CCC #6C4CCC
triadic
#4C6CCC #CC4C6C #6CCC4C
tetradic
#4C6CCC #CC4CAC #CCAC4C #4CCC6C
square
#4C6CCC #CC4CAC #CCAC4C #4CCC6C
split-complementary
#4C6CCC #CC6C4C #ACCC4C
monochromatic
#23397B #314FAA #4C6CCC #7C93DA #ABBAE7

Accessibility & contrast

On white

4.86
#4C6CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4C6CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6CCC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CCC#FFFFFF#000000##FFFFFF
##4C6CCC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C77D0
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c6ccc;
/* rgb */ color: rgb(76, 108, 204);
/* oklch */ color: oklch(55.6% 0.153 267.4);
Tailwind
colors: {
  custom: {
    50: '#8a95dc',
    500: '#4c6ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4c6ccc;
$custom-light: #8a95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6ccc",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 225,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.15278,
    "h": 267.4
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#4C6CCC
secondary
#D5C79F
accent
#B949DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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