#4979CF#4979CF

#4979CF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.142 H 261.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4979CF
RGBrgb(73, 121, 207)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 65%, 81%)
CMYKcmyk(64.7%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.38, 11.11, -49.34)
CIE-LCHlch(51.38, 50.58, 282.69°)
OKLaboklab(58.43% -0.0219 -0.1406)
OKLCHoklch(58.43% 0.142 261.1)
XYZxyz(20.8435, 19.5942, 61.7030)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979CF #CF9F49
analogous
#49BCCF #4979CF #5C49CF
triadic
#4979CF #CF4979 #79CF49
tetradic
#4979CF #CF49BC #CF9F49 #49CF5C
square
#4979CF #CF49BC #CF9F49 #49CF5C
split-complementary
#4979CF #CF5C49 #BCCF49
monochromatic
#21427D #2E5BAD #4979CF #799DDC #AAC0E9

Accessibility & contrast

On white

4.27
#4979CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4979CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979CF#FFFFFF#000000##000000
##4979CF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#3D75CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4979cf;
/* rgb */ color: rgb(73, 121, 207);
/* oklch */ color: oklch(58.4% 0.142 261.1);
Tailwind
colors: {
  custom: {
    50: '#899fde',
    500: '#4979cf',
    950: '#000000',
  },
}
SCSS
$custom: #4979cf;
$custom-light: #899fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4979cf",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 218.507,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.14235,
    "h": 261.1
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#4979CF
secondary
#D6C29E
accent
#AA46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4979CF

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

Preview Lab → · Contrast checker → · Palette generator →

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