#4A78BD#4A78BD

#4A78BD is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.2% C 0.119 H 258.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4A78BD
RGBrgb(74, 120, 189)
HSLhsl(216, 47%, 52%)
HSVhsv(216, 61%, 74%)
CMYKcmyk(60.8%, 36.5%, 0%, 25.9%)
CIE-LABlab(50.17, 5.71, -40.96)
CIE-LCHlch(50.17, 41.36, 277.93°)
OKLaboklab(57.19% -0.0241 -0.1161)
OKLCHoklch(57.19% 0.119 258.3)
XYZxyz(18.7226, 18.5612, 50.7303)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78BD #BD8F4A
analogous
#4AB2BD #4A78BD #564ABD
triadic
#4A78BD #BD4A78 #78BD4A
tetradic
#4A78BD #BD4AB2 #BD8F4A #4ABD56
square
#4A78BD #BD4AB2 #BD8F4A #4ABD56
split-complementary
#4A78BD #BD564A #B2BD4A
monochromatic
#264067 #365C94 #4A78BD #7799CD #A4BBDE

Accessibility & contrast

On white

4.46
#4A78BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4A78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78BD#FFFFFF#000000##000000
##4A78BD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DC0
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a78bd;
/* rgb */ color: rgb(74, 120, 189);
/* oklch */ color: oklch(57.2% 0.119 258.3);
Tailwind
colors: {
  custom: {
    50: '#869ed1',
    500: '#4a78bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a78bd;
$custom-light: #869ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78bd",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 216,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.11858,
    "h": 258.3
  },
  "luminance": 0.18563
}

Semantic roles & 50–950 ramp

primary
#4A78BD
secondary
#CBB698
accent
#A152D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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