#4A78BE#4A78BE

#4A78BE is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.120 H 258.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4A78BE
RGBrgb(74, 120, 190)
HSLhsl(216, 47%, 52%)
HSVhsv(216, 61%, 75%)
CMYKcmyk(61.1%, 36.8%, 0%, 25.5%)
CIE-LABlab(50.22, 6.05, -41.45)
CIE-LCHlch(50.22, 41.89, 278.30°)
OKLaboklab(57.25% -0.0238 -0.1175)
OKLCHoklch(57.25% 0.12 258.5)
XYZxyz(18.8315, 18.6048, 51.3039)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78BE #BE904A
analogous
#4AB2BE #4A78BE #564ABE
triadic
#4A78BE #BE4A78 #78BE4A
tetradic
#4A78BE #BE4AB2 #BE904A #4ABE56
square
#4A78BE #BE4AB2 #BE904A #4ABE56
split-complementary
#4A78BE #BE564A #B2BE4A
monochromatic
#254068 #365C95 #4A78BE #779ACE #A4BBDE

Accessibility & contrast

On white

4.45
#4A78BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4A78BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78BE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78BE#FFFFFF#000000##000000
##4A78BE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC1
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a78be;
/* rgb */ color: rgb(74, 120, 190);
/* oklch */ color: oklch(57.3% 0.120 258.5);
Tailwind
colors: {
  custom: {
    50: '#869ed2',
    500: '#4a78be',
    950: '#000000',
  },
}
SCSS
$custom: #4a78be;
$custom-light: #869ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78be",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 216.207,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.11994,
    "h": 258.5
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#4A78BE
secondary
#CBB798
accent
#A251D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A78BE

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

Preview Lab → · Contrast checker → · Palette generator →

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