#4C78BC#4C78BC

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

Color values

HEX#4C78BC
RGBrgb(76, 120, 188)
HSLhsl(216, 46%, 52%)
HSVhsv(216, 60%, 74%)
CMYKcmyk(59.6%, 36.2%, 0%, 26.3%)
CIE-LABlab(50.21, 5.77, -40.31)
CIE-LCHlch(50.21, 40.72, 278.14°)
OKLaboklab(57.24% -0.0226 -0.1142)
OKLCHoklch(57.24% 0.116 258.8)
XYZxyz(18.7709, 18.5987, 50.1679)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78BC #BC904C
analogous
#4CB0BC #4C78BC #584CBC
triadic
#4C78BC #BC4C78 #78BC4C
tetradic
#4C78BC #BC4CB0 #BC904C #4CBC58
square
#4C78BC #BC4CB0 #BC904C #4CBC58
split-complementary
#4C78BC #BC584C #B0BC4C
monochromatic
#274067 #375C94 #4C78BC #799ACD #A5BBDD

Accessibility & contrast

On white

4.45
#4C78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4C78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78BC#FFFFFF#000000##000000
##4C78BC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c78bc;
/* rgb */ color: rgb(76, 120, 188);
/* oklch */ color: oklch(57.2% 0.116 258.8);
Tailwind
colors: {
  custom: {
    50: '#879ed0',
    500: '#4c78bc',
    950: '#000000',
  },
}
SCSS
$custom: #4c78bc;
$custom-light: #879ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78bc",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 216.429,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.11638,
    "h": 258.8
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#4C78BC
secondary
#CAB799
accent
#A253D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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