#4C78BD#4C78BD

#4C78BD is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.118 H 259.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4C78BD
RGBrgb(76, 120, 189)
HSLhsl(217, 46%, 52%)
HSVhsv(217, 60%, 74%)
CMYKcmyk(59.8%, 36.5%, 0%, 25.9%)
CIE-LABlab(50.27, 6.10, -40.80)
CIE-LCHlch(50.27, 41.26, 278.51°)
OKLaboklab(57.29% -0.0223 -0.1156)
OKLCHoklch(57.29% 0.118 259.1)
XYZxyz(18.8790, 18.6419, 50.7376)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78BD #BD914C
analogous
#4CB1BD #4C78BD #594CBD
triadic
#4C78BD #BD4C78 #78BD4C
tetradic
#4C78BD #BD4CB1 #BD914C #4CBD59
square
#4C78BD #BD4CB1 #BD914C #4CBD59
split-complementary
#4C78BD #BD594C #B1BD4C
monochromatic
#264068 #375C95 #4C78BD #799ACD #A5BBDE

Accessibility & contrast

On white

4.44
#4C78BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4C78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78BD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78BD#FFFFFF#000000##000000
##4C78BD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DC0
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c78bd;
/* rgb */ color: rgb(76, 120, 189);
/* oklch */ color: oklch(57.3% 0.118 259.1);
Tailwind
colors: {
  custom: {
    50: '#879ed1',
    500: '#4c78bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c78bd;
$custom-light: #879ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78bd",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 216.637,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.11774,
    "h": 259.1
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#4C78BD
secondary
#CBB89A
accent
#A252D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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