#4C6DCC#4C6DCC

#4C6DCC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.9% C 0.152 H 267.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4C6DCC
RGBrgb(76, 109, 204)
HSLhsl(225, 56%, 55%)
HSVhsv(225, 63%, 80%)
CMYKcmyk(62.7%, 46.6%, 0%, 20%)
CIE-LABlab(48.05, 18.04, -52.94)
CIE-LCHlch(48.05, 55.93, 288.82°)
OKLaboklab(55.86% -0.0078 -0.1513)
OKLCHoklch(55.86% 0.152 267)
XYZxyz(19.3445, 16.8317, 59.3444)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6DCC #CCAB4C
analogous
#4CADCC #4C6DCC #6B4CCC
triadic
#4C6DCC #CC4C6D #6DCC4C
tetradic
#4C6DCC #CC4CAD #CCAB4C #4CCC6B
square
#4C6DCC #CC4CAD #CCAB4C #4CCC6B
split-complementary
#4C6DCC #CC6B4C #ADCC4C
monochromatic
#233A7B #3150AA #4C6DCC #7C94DA #ABBBE7

Accessibility & contrast

On white

4.81
#4C6DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4C6DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6DCC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6DCC#FFFFFF#000000##FFFFFF
##4C6DCC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c6dcc;
/* rgb */ color: rgb(76, 109, 204);
/* oklch */ color: oklch(55.9% 0.152 267.0);
Tailwind
colors: {
  custom: {
    50: '#8a96dc',
    500: '#4c6dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4c6dcc;
$custom-light: #8a96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6dcc",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 224.531,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.15154,
    "h": 267
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C6DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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