#4979CB#4979CB

#4979CB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.137 H 260.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4979CB
RGBrgb(73, 121, 203)
HSLhsl(218, 56%, 54%)
HSVhsv(218, 64%, 80%)
CMYKcmyk(64%, 40.4%, 0%, 20.4%)
CIE-LABlab(51.15, 9.72, -47.42)
CIE-LCHlch(51.15, 48.40, 281.58°)
OKLaboklab(58.19% -0.0227 -0.135)
OKLCHoklch(58.19% 0.137 260.4)
XYZxyz(20.3607, 19.4011, 59.1601)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979CB #CB9B49
analogous
#49BACB #4979CB #5A49CB
triadic
#4979CB #CB4979 #79CB49
tetradic
#4979CB #CB49BA #CB9B49 #49CB5A
square
#4979CB #CB49BA #CB9B49 #49CB5A
split-complementary
#4979CB #CB5A49 #BACB49
monochromatic
#224277 #305CA7 #4979CB #799CD9 #A8BFE6

Accessibility & contrast

On white

4.30
#4979CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4979CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979CB#FFFFFF#000000##000000
##4979CB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4979cb;
/* rgb */ color: rgb(73, 121, 203);
/* oklch */ color: oklch(58.2% 0.137 260.4);
Tailwind
colors: {
  custom: {
    50: '#889fdb',
    500: '#4979cb',
    950: '#000000',
  },
}
SCSS
$custom: #4979cb;
$custom-light: #889fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4979cb",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 217.846,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.13691,
    "h": 260.4
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#4979CB
secondary
#D4BF9C
accent
#A849DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4979CB

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

Preview Lab → · Contrast checker → · Palette generator →

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