#4C78BB#4C78BB

#4C78BB is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.2% C 0.115 H 258.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4C78BB
RGBrgb(76, 120, 187)
HSLhsl(216, 45%, 52%)
HSVhsv(216, 59%, 73%)
CMYKcmyk(59.4%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.16, 5.43, -39.82)
CIE-LCHlch(50.16, 40.18, 277.77°)
OKLaboklab(57.18% -0.0228 -0.1127)
OKLCHoklch(57.18% 0.115 258.6)
XYZxyz(18.6635, 18.5557, 49.6021)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78BB #BB8F4C
analogous
#4CB0BB #4C78BB #584CBB
triadic
#4C78BB #BB4C78 #78BB4C
tetradic
#4C78BB #BB4CB0 #BB8F4C #4CBB58
square
#4C78BB #BB4CB0 #BB8F4C #4CBB58
split-complementary
#4C78BB #BB584C #B0BB4C
monochromatic
#274066 #385C92 #4C78BB #7899CC #A5BBDD

Accessibility & contrast

On white

4.46
#4C78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4C78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78BB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78BB#FFFFFF#000000##000000
##4C78BB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#4D73BA
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c78bb;
/* rgb */ color: rgb(76, 120, 187);
/* oklch */ color: oklch(57.2% 0.115 258.6);
Tailwind
colors: {
  custom: {
    50: '#879ed0',
    500: '#4c78bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c78bb;
$custom-light: #879ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78bb",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 216.216,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.11502,
    "h": 258.6
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#4C78BB
secondary
#CAB699
accent
#A153D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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