#4978DF#4978DF

#4978DF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.165 H 263.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4978DF
RGBrgb(73, 120, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(67.3%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.03, 17.32, -57.34)
CIE-LCHlch(52.03, 59.90, 286.81°)
OKLaboklab(59.24% -0.0182 -0.1642)
OKLCHoklch(59.24% 0.165 263.7)
XYZxyz(22.7787, 20.1749, 72.4914)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978DF #DFB049
analogous
#49C3DF #4978DF #6549DF
triadic
#4978DF #DF4978 #78DF49
tetradic
#4978DF #DF49C3 #DFB049 #49DF65
square
#4978DF #DF49C3 #DFB049 #49DF65
split-complementary
#4978DF #DF6549 #C3DF49
monochromatic
#1A4094 #2357C8 #4978DF #7D9FE8 #B1C5F1

Accessibility & contrast

On white

4.17
#4978DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4978DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978DF#FFFFFF#000000##000000
##4978DF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4978df;
/* rgb */ color: rgb(73, 120, 223);
/* oklch */ color: oklch(59.2% 0.165 263.7);
Tailwind
colors: {
  custom: {
    50: '#8b9ee9',
    500: '#4978df',
    950: '#000000',
  },
}
SCSS
$custom: #4978df;
$custom-light: #8b9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4978df",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 221.2,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.16516,
    "h": 263.7
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#4978DF
secondary
#E0CDA4
accent
#B53BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4978DF

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

Preview Lab → · Contrast checker → · Palette generator →

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