#4979BF#4979BF

#4979BF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.5% C 0.121 H 257.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4979BF
RGBrgb(73, 121, 191)
HSLhsl(216, 48%, 52%)
HSVhsv(216, 62%, 75%)
CMYKcmyk(61.8%, 36.6%, 0%, 25.1%)
CIE-LABlab(50.51, 5.59, -41.57)
CIE-LCHlch(50.51, 41.95, 277.66°)
OKLaboklab(57.48% -0.0255 -0.1179)
OKLCHoklch(57.48% 0.121 257.8)
XYZxyz(18.9857, 18.8511, 51.9182)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979BF #BF8F49
analogous
#49B4BF #4979BF #5449BF
triadic
#4979BF #BF4979 #79BF49
tetradic
#4979BF #BF49B4 #BF8F49 #49BF54
square
#4979BF #BF49B4 #BF8F49 #49BF54
split-complementary
#4979BF #BF5449 #B4BF49
monochromatic
#254069 #355C96 #4979BF #769ACF #A4BCDF

Accessibility & contrast

On white

4.40
#4979BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4979BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979BF#FFFFFF#000000##000000
##4979BF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4979bf;
/* rgb */ color: rgb(73, 121, 191);
/* oklch */ color: oklch(57.5% 0.121 257.8);
Tailwind
colors: {
  custom: {
    50: '#869fd2',
    500: '#4979bf',
    950: '#000000',
  },
}
SCSS
$custom: #4979bf;
$custom-light: #869fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4979bf",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 215.593,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.12061,
    "h": 257.8
  },
  "luminance": 0.18853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4979BF

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

Preview Lab → · Contrast checker → · Palette generator →

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