#4A78BB#4A78BB

#4A78BB is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.1% C 0.116 H 257.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4A78BB
RGBrgb(74, 120, 187)
HSLhsl(216, 45%, 51%)
HSVhsv(216, 60%, 73%)
CMYKcmyk(60.4%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.07, 5.03, -39.97)
CIE-LCHlch(50.07, 40.29, 277.17°)
OKLaboklab(57.08% -0.0246 -0.1132)
OKLCHoklch(57.08% 0.116 257.8)
XYZxyz(18.5070, 18.4750, 49.5948)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78BB #BB8D4A
analogous
#4AB1BB #4A78BB #544ABB
triadic
#4A78BB #BB4A78 #78BB4A
tetradic
#4A78BB #BB4AB1 #BB8D4A #4ABB54
square
#4A78BB #BB4AB1 #BB8D4A #4ABB54
split-complementary
#4A78BB #BB544A #B1BB4A
monochromatic
#263F65 #375B91 #4A78BB #7699CC #A3BADC

Accessibility & contrast

On white

4.47
#4A78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4A78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78BB#FFFFFF#000000##000000
##4A78BB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#4D72BA
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a78bb;
/* rgb */ color: rgb(74, 120, 187);
/* oklch */ color: oklch(57.1% 0.116 257.8);
Tailwind
colors: {
  custom: {
    50: '#869ed0',
    500: '#4a78bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a78bb;
$custom-light: #869ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78bb",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 215.575,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.11585,
    "h": 257.8
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

primary
#4A78BB
secondary
#C9B597
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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