#4C78DA#4C78DA

#4C78DA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.1% C 0.157 H 264.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4C78DA
RGBrgb(76, 120, 218)
HSLhsl(221, 66%, 58%)
HSVhsv(221, 65%, 85%)
CMYKcmyk(65.1%, 45%, 0%, 14.5%)
CIE-LABlab(51.87, 16.06, -54.77)
CIE-LCHlch(51.87, 57.08, 286.34°)
OKLaboklab(59.05% -0.0164 -0.1566)
OKLCHoklch(59.05% 0.157 264)
XYZxyz(22.3474, 20.0293, 69.0044)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78DA #DAAE4C
analogous
#4CBFDA #4C78DA #674CDA
triadic
#4C78DA #DA4C78 #78DA4C
tetradic
#4C78DA #DA4CBF #DAAE4C #4CDA67
square
#4C78DA #DA4CBF #DAAE4C #4CDA67
split-complementary
#4C78DA #DA674C #BFDA4C
monochromatic
#1D408E #2857C1 #4C78DA #7F9EE4 #B1C5EF

Accessibility & contrast

On white

4.19
#4C78DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4C78DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78DA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78DA#FFFFFF#000000##000000
##4C78DA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DE
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c78da;
/* rgb */ color: rgb(76, 120, 218);
/* oklch */ color: oklch(59.1% 0.157 264.0);
Tailwind
colors: {
  custom: {
    50: '#8c9ee6',
    500: '#4c78da',
    950: '#000000',
  },
}
SCSS
$custom: #4c78da;
$custom-light: #8c9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78da",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 221.408,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.15743,
    "h": 264
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

primary
#4C78DA
secondary
#DDCCA4
accent
#B43FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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