#4C7CCD#4C7CCD

#4C7CCD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.1% C 0.135 H 260.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4C7CCD
RGBrgb(76, 124, 205)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 63%, 80%)
CMYKcmyk(62.9%, 39.5%, 0%, 19.6%)
CIE-LABlab(52.24, 9.11, -46.82)
CIE-LCHlch(52.24, 47.70, 281.01°)
OKLaboklab(59.1% -0.0229 -0.1332)
OKLCHoklch(59.1% 0.135 260.3)
XYZxyz(21.2037, 20.3576, 60.5578)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CCD #CD9D4C
analogous
#4CBDCD #4C7CCD #5C4CCD
triadic
#4C7CCD #CD4C7C #7CCD4C
tetradic
#4C7CCD #CD4CBD #CD9D4C #4CCD5C
square
#4C7CCD #CD4CBD #CD9D4C #4CCD5C
split-complementary
#4C7CCD #CD5C4C #BDCD4C
monochromatic
#23447C #305EAC #4C7CCD #7C9FDA #ACC2E8

Accessibility & contrast

On white

4.14
#4C7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4C7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CCD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CCD#FFFFFF#000000##000000
##4C7CCD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7ccd;
/* rgb */ color: rgb(76, 124, 205);
/* oklch */ color: oklch(59.1% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#8aa1dd',
    500: '#4c7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ccd;
$custom-light: #8aa1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ccd",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 217.674,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.591,
    "c": 0.13512,
    "h": 260.3
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#4C7CCD
secondary
#D5C19F
accent
#A748E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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