#4978DB#4978DB

#4978DB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.160 H 263.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4978DB
RGBrgb(73, 120, 219)
HSLhsl(221, 67%, 57%)
HSVhsv(221, 67%, 86%)
CMYKcmyk(66.7%, 45.2%, 0%, 14.1%)
CIE-LABlab(51.79, 15.92, -55.47)
CIE-LCHlch(51.79, 57.71, 286.01°)
OKLaboklab(58.98% -0.0188 -0.1587)
OKLCHoklch(58.98% 0.16 263.2)
XYZxyz(22.2458, 19.9617, 69.6847)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978DB #DBAC49
analogous
#49C1DB #4978DB #6349DB
triadic
#4978DB #DB4978 #78DB49
tetradic
#4978DB #DB49C1 #DBAC49 #49DB63
square
#4978DB #DB49C1 #DBAC49 #49DB63
split-complementary
#4978DB #DB6349 #C1DB49
monochromatic
#1C418E #2658C1 #4978DB #7C9EE5 #AFC4EF

Accessibility & contrast

On white

4.21
#4978DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4978DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978DB#FFFFFF#000000##000000
##4978DB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783DF
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4978db;
/* rgb */ color: rgb(73, 120, 219);
/* oklch */ color: oklch(59.0% 0.160 263.2);
Tailwind
colors: {
  custom: {
    50: '#8b9ee7',
    500: '#4978db',
    950: '#000000',
  },
}
SCSS
$custom: #4978db;
$custom-light: #8b9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4978db",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 220.685,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58977,
    "c": 0.15977,
    "h": 263.2
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#4978DB
secondary
#DDCAA2
accent
#B33EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4978DB

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

Preview Lab → · Contrast checker → · Palette generator →

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