#4A78BF#4A78BF

#4A78BF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.3% C 0.121 H 258.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4A78BF
RGBrgb(74, 120, 191)
HSLhsl(216, 48%, 52%)
HSVhsv(216, 61%, 75%)
CMYKcmyk(61.3%, 37.2%, 0%, 25.1%)
CIE-LABlab(50.27, 6.39, -41.95)
CIE-LCHlch(50.27, 42.43, 278.66°)
OKLaboklab(57.31% -0.0236 -0.119)
OKLCHoklch(57.31% 0.121 258.8)
XYZxyz(18.9412, 18.6487, 51.8815)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78BF #BF914A
analogous
#4AB3BF #4A78BF #574ABF
triadic
#4A78BF #BF4A78 #78BF4A
tetradic
#4A78BF #BF4AB3 #BF914A #4ABF57
square
#4A78BF #BF4AB3 #BF914A #4ABF57
split-complementary
#4A78BF #BF574A #B3BF4A
monochromatic
#254069 #355C97 #4A78BF #779ACF #A4BBDF

Accessibility & contrast

On white

4.44
#4A78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4A78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78BF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78BF#FFFFFF#000000##000000
##4A78BF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a78bf;
/* rgb */ color: rgb(74, 120, 191);
/* oklch */ color: oklch(57.3% 0.121 258.8);
Tailwind
colors: {
  custom: {
    50: '#879ed2',
    500: '#4a78bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a78bf;
$custom-light: #879ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78bf",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 216.41,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57307,
    "c": 0.1213,
    "h": 258.8
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#4A78BF
secondary
#CCB899
accent
#A250D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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