#4C78CA#4C78CA

#4C78CA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.136 H 261.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4C78CA
RGBrgb(76, 120, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 62%, 79%)
CMYKcmyk(62.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(50.96, 10.53, -47.15)
CIE-LCHlch(50.96, 48.31, 282.59°)
OKLaboklab(58.06% -0.0194 -0.1342)
OKLCHoklch(58.06% 0.136 261.8)
XYZxyz(20.3539, 19.2319, 58.5052)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78CA #CA9E4C
analogous
#4CB7CA #4C78CA #5F4CCA
triadic
#4C78CA #CA4C78 #78CA4C
tetradic
#4C78CA #CA4CB7 #CA9E4C #4CCA5F
square
#4C78CA #CA4CB7 #CA9E4C #4CCA5F
split-complementary
#4C78CA #CA5F4C #B7CA4C
monochromatic
#244178 #325BA7 #4C78CA #7B9CD8 #AABFE6

Accessibility & contrast

On white

4.33
#4C78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4C78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78CA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78CA#FFFFFF#000000##000000
##4C78CA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c78ca;
/* rgb */ color: rgb(76, 120, 202);
/* oklch */ color: oklch(58.1% 0.136 261.8);
Tailwind
colors: {
  custom: {
    50: '#899eda',
    500: '#4c78ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c78ca;
$custom-light: #899eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78ca",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 219.048,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.13558,
    "h": 261.8
  },
  "luminance": 0.19234
}

Semantic roles & 50–950 ramp

primary
#4C78CA
secondary
#D4C19E
accent
#AA4ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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