#4A78D5#4A78D5

#4A78D5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.151 H 262.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4A78D5
RGBrgb(74, 120, 213)
HSLhsl(220, 62%, 56%)
HSVhsv(220, 65%, 84%)
CMYKcmyk(65.3%, 43.7%, 0%, 16.5%)
CIE-LABlab(51.49, 13.98, -52.57)
CIE-LCHlch(51.49, 54.39, 284.90°)
OKLaboklab(58.64% -0.019 -0.1501)
OKLCHoklch(58.64% 0.151 262.8)
XYZxyz(21.5465, 19.6908, 65.6031)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78D5 #D5A74A
analogous
#4ABED5 #4A78D5 #624AD5
triadic
#4A78D5 #D54A78 #78D54A
tetradic
#4A78D5 #D54ABE #D5A74A #4AD562
square
#4A78D5 #D54ABE #D5A74A #4AD562
split-complementary
#4A78D5 #D5624A #BED54A
monochromatic
#1F4186 #2B59B7 #4A78D5 #7C9DE1 #ADC2EC

Accessibility & contrast

On white

4.25
#4A78D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4A78D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78D5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78D5#FFFFFF#000000##000000
##4A78D51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#3575D3
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a78d5;
/* rgb */ color: rgb(74, 120, 213);
/* oklch */ color: oklch(58.6% 0.151 262.8);
Tailwind
colors: {
  custom: {
    50: '#8a9ee2',
    500: '#4a78d5',
    950: '#000000',
  },
}
SCSS
$custom: #4a78d5;
$custom-light: #8a9ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78d5",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 220.144,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.15131,
    "h": 262.8
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#4A78D5
secondary
#DAC7A1
accent
#AF42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A78D5

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

Preview Lab → · Contrast checker → · Palette generator →

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