#4C7DCD#4C7DCD

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

Color values

HEX#4C7DCD
RGBrgb(76, 125, 205)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 63%, 80%)
CMYKcmyk(62.9%, 39%, 0%, 19.6%)
CIE-LABlab(52.52, 8.50, -46.38)
CIE-LCHlch(52.52, 47.15, 280.39°)
OKLaboklab(59.32% -0.0239 -0.1318)
OKLCHoklch(59.32% 0.134 259.7)
XYZxyz(21.3297, 20.6095, 60.5997)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DCD #CD9C4C
analogous
#4CBECD #4C7DCD #5B4CCD
triadic
#4C7DCD #CD4C7D #7DCD4C
tetradic
#4C7DCD #CD4CBE #CD9C4C #4CCD5B
square
#4C7DCD #CD4CBE #CD9C4C #4CCD5B
split-complementary
#4C7DCD #CD5B4C #BECD4C
monochromatic
#23457C #305FAC #4C7DCD #7CA0DA #ACC2E8

Accessibility & contrast

On white

4.10
#4C7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4C7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DCD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DCD#FFFFFF#000000##000000
##4C7DCD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7dcd;
/* rgb */ color: rgb(76, 125, 205);
/* oklch */ color: oklch(59.3% 0.134 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa2dc',
    500: '#4c7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dcd;
$custom-light: #8aa2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dcd",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 217.209,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.134,
    "h": 259.7
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#4C7DCD
secondary
#D5C19F
accent
#A648E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4C7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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