#4A78D8#4A78D8

#4A78D8 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.155 H 263.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4A78D8
RGBrgb(74, 120, 216)
HSLhsl(221, 65%, 57%)
HSVhsv(221, 66%, 85%)
CMYKcmyk(65.7%, 44.4%, 0%, 15.3%)
CIE-LABlab(51.66, 15.03, -53.98)
CIE-LCHlch(51.66, 56.04, 285.56°)
OKLaboklab(58.83% -0.0184 -0.1543)
OKLCHoklch(58.83% 0.155 263.2)
XYZxyz(21.9308, 19.8445, 67.6271)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78D8 #D8AA4A
analogous
#4ABFD8 #4A78D8 #634AD8
triadic
#4A78D8 #D84A78 #78D84A
tetradic
#4A78D8 #D84ABF #D8AA4A #4AD863
square
#4A78D8 #D84ABF #D8AA4A #4AD863
split-complementary
#4A78D8 #D8634A #BFD84A
monochromatic
#1E418A #2958BC #4A78D8 #7C9EE3 #AFC3EE

Accessibility & contrast

On white

4.23
#4A78D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4A78D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78D8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78D8#FFFFFF#000000##000000
##4A78D81.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DC
Deuteranopia (green-blind)
#3175D6
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a78d8;
/* rgb */ color: rgb(74, 120, 216);
/* oklch */ color: oklch(58.8% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#8b9ee4',
    500: '#4a78d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a78d8;
$custom-light: #8b9ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78d8",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 220.563,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.15538,
    "h": 263.2
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#4A78D8
secondary
#DCC9A2
accent
#B140E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A78D8

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

Preview Lab → · Contrast checker → · Palette generator →

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