#4C78CD#4C78CD

#4C78CD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.140 H 262.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C78CD
RGBrgb(76, 120, 205)
HSLhsl(220, 56%, 55%)
HSVhsv(220, 63%, 80%)
CMYKcmyk(62.9%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.12, 11.56, -48.60)
CIE-LCHlch(51.12, 49.95, 283.38°)
OKLaboklab(58.24% -0.0188 -0.1384)
OKLCHoklch(58.24% 0.14 262.3)
XYZxyz(20.7126, 19.3753, 60.3940)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78CD #CDA14C
analogous
#4CB8CD #4C78CD #614CCD
triadic
#4C78CD #CD4C78 #78CD4C
tetradic
#4C78CD #CD4CB8 #CDA14C #4CCD61
square
#4C78CD #CD4CB8 #CDA14C #4CCD61
split-complementary
#4C78CD #CD614C #B8CD4C
monochromatic
#23417C #305AAC #4C78CD #7C9CDA #ACC0E8

Accessibility & contrast

On white

4.31
#4C78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4C78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78CD#FFFFFF#000000##000000
##4C78CD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c78cd;
/* rgb */ color: rgb(76, 120, 205);
/* oklch */ color: oklch(58.2% 0.140 262.3);
Tailwind
colors: {
  custom: {
    50: '#8a9edd',
    500: '#4c78cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c78cd;
$custom-light: #8a9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78cd",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 219.535,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58237,
    "c": 0.1397,
    "h": 262.3
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#4C78CD
secondary
#D5C39F
accent
#AC48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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