#4978BF#4978BF

#4978BF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.3% C 0.122 H 258.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4978BF
RGBrgb(73, 120, 191)
HSLhsl(216, 48%, 52%)
HSVhsv(216, 62%, 75%)
CMYKcmyk(61.8%, 37.2%, 0%, 25.1%)
CIE-LABlab(50.23, 6.20, -42.02)
CIE-LCHlch(50.23, 42.48, 278.39°)
OKLaboklab(57.26% -0.0244 -0.1192)
OKLCHoklch(57.26% 0.122 258.4)
XYZxyz(18.8648, 18.6093, 51.8779)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978BF #BF9049
analogous
#49B3BF #4978BF #5549BF
triadic
#4978BF #BF4978 #78BF49
tetradic
#4978BF #BF49B3 #BF9049 #49BF55
square
#4978BF #BF49B3 #BF9049 #49BF55
split-complementary
#4978BF #BF5549 #B3BF49
monochromatic
#254069 #355C96 #4978BF #769ACF #A4BBDF

Accessibility & contrast

On white

4.45
#4978BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4978BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978BF#FFFFFF#000000##000000
##4978BF1.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)
#5A7EC2
Deuteranopia (green-blind)
#4972BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4978bf;
/* rgb */ color: rgb(73, 120, 191);
/* oklch */ color: oklch(57.3% 0.122 258.4);
Tailwind
colors: {
  custom: {
    50: '#869ed2',
    500: '#4978bf',
    950: '#000000',
  },
}
SCSS
$custom: #4978bf;
$custom-light: #869ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4978bf",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 216.102,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.12171,
    "h": 258.4
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#4978BF
secondary
#CCB798
accent
#A250D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4978BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4978BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva