#4A78F4#4A78F4

#4A78F4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.193 H 265.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4A78F4
RGBrgb(74, 120, 244)
HSLhsl(224, 89%, 62%)
HSVhsv(224, 70%, 96%)
CMYKcmyk(69.7%, 50.8%, 0%, 4.3%)
CIE-LABlab(53.40, 24.85, -66.88)
CIE-LCHlch(53.40, 71.34, 290.39°)
OKLaboklab(60.72% -0.0147 -0.1922)
OKLCHoklch(60.72% 0.193 265.6)
XYZxyz(25.8639, 21.4178, 88.3414)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78F4 #F4C64A
analogous
#4ACDF4 #4A78F4 #714AF4
triadic
#4A78F4 #F44A78 #78F44A
tetradic
#4A78F4 #F44ACD #F4C64A #4AF471
square
#4A78F4 #F44ACD #F4C64A #4AF471
split-complementary
#4A78F4 #F4714A #CDF44A
monochromatic
#0B3AB8 #104DF0 #4A78F4 #84A3F8 #BDCEFB

Accessibility & contrast

On white

3.97
#4A78F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4A78F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78F4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78F4#FFFFFF#000000##000000
##4A78F41.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88F8
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a78f4;
/* rgb */ color: rgb(74, 120, 244);
/* oklch */ color: oklch(60.7% 0.193 265.6);
Tailwind
colors: {
  custom: {
    50: '#909ef8',
    500: '#4a78f4',
    950: '#000000',
  },
}
SCSS
$custom: #4a78f4;
$custom-light: #909ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78f4",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 223.765,
    "s": 88.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.19277,
    "h": 265.6
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

primary
#4A78F4
secondary
#ECDBAE
accent
#A700E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A78F4

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

Preview Lab → · Contrast checker → · Palette generator →

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