#4C7DCC#4C7DCC

#4C7DCC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.133 H 259.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4C7DCC
RGBrgb(76, 125, 204)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 63%, 80%)
CMYKcmyk(62.7%, 38.7%, 0%, 20%)
CIE-LABlab(52.47, 8.16, -45.89)
CIE-LCHlch(52.47, 46.61, 280.08°)
OKLaboklab(59.26% -0.0241 -0.1304)
OKLCHoklch(59.26% 0.133 259.5)
XYZxyz(21.2093, 20.5614, 59.9661)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DCC #CC9B4C
analogous
#4CBDCC #4C7DCC #5B4CCC
triadic
#4C7DCC #CC4C7D #7DCC4C
tetradic
#4C7DCC #CC4CBD #CC9B4C #4CCC5B
square
#4C7DCC #CC4CBD #CC9B4C #4CCC5B
split-complementary
#4C7DCC #CC5B4C #BDCC4C
monochromatic
#23457B #315FAA #4C7DCC #7CA0DA #ABC2E7

Accessibility & contrast

On white

4.11
#4C7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4C7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DCC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DCC#FFFFFF#000000##000000
##4C7DCC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84CF
Deuteranopia (green-blind)
#4878CA
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7dcc;
/* rgb */ color: rgb(76, 125, 204);
/* oklch */ color: oklch(59.3% 0.133 259.5);
Tailwind
colors: {
  custom: {
    50: '#89a2dc',
    500: '#4c7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dcc;
$custom-light: #89a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dcc",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 217.031,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.13265,
    "h": 259.5
  },
  "luminance": 0.20563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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