#4A78CC#4A78CC

#4A78CC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.139 H 261.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4A78CC
RGBrgb(74, 120, 204)
HSLhsl(219, 56%, 55%)
HSVhsv(219, 64%, 80%)
CMYKcmyk(63.7%, 41.2%, 0%, 20%)
CIE-LABlab(50.97, 10.86, -48.27)
CIE-LCHlch(50.97, 49.48, 282.68°)
OKLaboklab(58.08% -0.0207 -0.1375)
OKLCHoklch(58.08% 0.139 261.4)
XYZxyz(20.4358, 19.2465, 59.7530)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78CC #CC9E4A
analogous
#4AB9CC #4A78CC #5D4ACC
triadic
#4A78CC #CC4A78 #78CC4A
tetradic
#4A78CC #CC4AB9 #CC9E4A #4ACC5D
square
#4A78CC #CC4AB9 #CC9E4A #4ACC5D
split-complementary
#4A78CC #CC5D4A #B9CC4A
monochromatic
#224179 #305BA9 #4A78CC #7A9CD9 #A9BFE7

Accessibility & contrast

On white

4.33
#4A78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4A78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78CC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78CC#FFFFFF#000000##000000
##4A78CC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a78cc;
/* rgb */ color: rgb(74, 120, 204);
/* oklch */ color: oklch(58.1% 0.139 261.4);
Tailwind
colors: {
  custom: {
    50: '#899edc',
    500: '#4a78cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a78cc;
$custom-light: #899edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78cc",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 218.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.13905,
    "h": 261.4
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#4A78CC
secondary
#D4C19D
accent
#AA48DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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