#4C7FCD#4C7FCD

#4C7FCD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.132 H 258.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4C7FCD
RGBrgb(76, 127, 205)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 63%, 80%)
CMYKcmyk(62.9%, 38%, 0%, 19.6%)
CIE-LABlab(53.08, 7.29, -45.48)
CIE-LCHlch(53.08, 46.06, 279.10°)
OKLaboklab(59.75% -0.0259 -0.1292)
OKLCHoklch(59.75% 0.132 258.6)
XYZxyz(21.5854, 21.1210, 60.6850)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FCD #CD9A4C
analogous
#4CC0CD #4C7FCD #594CCD
triadic
#4C7FCD #CD4C7F #7FCD4C
tetradic
#4C7FCD #CD4CC0 #CD9A4C #4CCD59
square
#4C7FCD #CD4CC0 #CD9A4C #4CCD59
split-complementary
#4C7FCD #CD594C #C0CD4C
monochromatic
#23467C #3061AC #4C7FCD #7CA1DA #ACC3E8

Accessibility & contrast

On white

4.02
#4C7FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4C7FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FCD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FCD#FFFFFF#000000##000000
##4C7FCD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7fcd;
/* rgb */ color: rgb(76, 127, 205);
/* oklch */ color: oklch(59.8% 0.132 258.6);
Tailwind
colors: {
  custom: {
    50: '#8aa3dc',
    500: '#4c7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fcd;
$custom-light: #8aa3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fcd",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 216.279,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.1318,
    "h": 258.6
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#4C7FCD
secondary
#D5C09F
accent
#A448E0
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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