#4C78DC#4C78DC

#4C78DC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.2% C 0.160 H 264.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4C78DC
RGBrgb(76, 120, 220)
HSLhsl(222, 67%, 58%)
HSVhsv(222, 65%, 86%)
CMYKcmyk(65.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.99, 16.75, -55.71)
CIE-LCHlch(51.99, 58.18, 286.74°)
OKLaboklab(59.18% -0.0161 -0.1593)
OKLCHoklch(59.18% 0.16 264.2)
XYZxyz(22.6107, 20.1346, 70.3910)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78DC #DCB04C
analogous
#4CC0DC #4C78DC #684CDC
triadic
#4C78DC #DC4C78 #78DC4C
tetradic
#4C78DC #DC4CC0 #DCB04C #4CDC68
square
#4C78DC #DC4CC0 #DCB04C #4CDC68
split-complementary
#4C78DC #DC684C #C0DC4C
monochromatic
#1C4091 #2657C4 #4C78DC #7F9FE6 #B2C5F0

Accessibility & contrast

On white

4.18
#4C78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4C78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78DC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78DC#FFFFFF#000000##000000
##4C78DC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c78dc;
/* rgb */ color: rgb(76, 120, 220);
/* oklch */ color: oklch(59.2% 0.160 264.2);
Tailwind
colors: {
  custom: {
    50: '#8c9ee7',
    500: '#4c78dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c78dc;
$custom-light: #8c9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78dc",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 221.667,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.16014,
    "h": 264.2
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#4C78DC
secondary
#DFCDA5
accent
#B53EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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