#4A78DC#4A78DC

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

Color values

HEX#4A78DC
RGBrgb(74, 120, 220)
HSLhsl(221, 68%, 58%)
HSVhsv(221, 66%, 86%)
CMYKcmyk(66.4%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.90, 16.43, -55.86)
CIE-LCHlch(51.90, 58.23, 286.39°)
OKLaboklab(59.09% -0.0178 -0.1598)
OKLCHoklch(59.09% 0.161 263.6)
XYZxyz(22.4542, 20.0539, 70.3837)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78DC #DCAE4A
analogous
#4AC1DC #4A78DC #654ADC
triadic
#4A78DC #DC4A78 #78DC4A
tetradic
#4A78DC #DC4AC1 #DCAE4A #4ADC65
square
#4A78DC #DC4AC1 #DCAE4A #4ADC65
split-complementary
#4A78DC #DC654A #C1DC4A
monochromatic
#1C4090 #2657C3 #4A78DC #7D9EE6 #B1C4F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A78DC#FFFFFF#000000##000000
##4A78DC1.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)
#4683E0
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a78dc;
/* rgb */ color: rgb(74, 120, 220);
/* oklch */ color: oklch(59.1% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#8b9ee7',
    500: '#4a78dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a78dc;
$custom-light: #8b9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78dc",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 221.096,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59089,
    "c": 0.1608,
    "h": 263.6
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#4A78DC
secondary
#DECCA4
accent
#B43DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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