#4C7ECC#4C7ECC

#4C7ECC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.132 H 259.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4C7ECC
RGBrgb(76, 126, 204)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 63%, 80%)
CMYKcmyk(62.7%, 38.2%, 0%, 20%)
CIE-LABlab(52.75, 7.55, -45.45)
CIE-LCHlch(52.75, 46.07, 279.44°)
OKLaboklab(59.48% -0.0251 -0.1291)
OKLCHoklch(59.48% 0.132 259)
XYZxyz(21.3366, 20.8159, 60.0085)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ECC #CC9A4C
analogous
#4CBECC #4C7ECC #5A4CCC
triadic
#4C7ECC #CC4C7E #7ECC4C
tetradic
#4C7ECC #CC4CBE #CC9A4C #4CCC5A
square
#4C7ECC #CC4CBE #CC9A4C #4CCC5A
split-complementary
#4C7ECC #CC5A4C #BECC4C
monochromatic
#23457B #3160AA #4C7ECC #7CA0DA #ABC3E7

Accessibility & contrast

On white

4.07
#4C7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4C7ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ECC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ECC#FFFFFF#000000##000000
##4C7ECC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7ecc;
/* rgb */ color: rgb(76, 126, 204);
/* oklch */ color: oklch(59.5% 0.132 259.0);
Tailwind
colors: {
  custom: {
    50: '#89a3dc',
    500: '#4c7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ecc;
$custom-light: #89a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ecc",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 216.563,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.13154,
    "h": 259
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

primary
#4C7ECC
secondary
#D5C09F
accent
#A449DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4C7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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