#4C79BB#4C79BB

#4C79BB is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.4% C 0.114 H 257.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4C79BB
RGBrgb(76, 121, 187)
HSLhsl(216, 45%, 52%)
HSVhsv(216, 59%, 73%)
CMYKcmyk(59.4%, 35.3%, 0%, 26.7%)
CIE-LABlab(50.45, 4.82, -39.36)
CIE-LCHlch(50.45, 39.66, 276.99°)
OKLaboklab(57.4% -0.0239 -0.1114)
OKLCHoklch(57.4% 0.114 257.9)
XYZxyz(18.7843, 18.7975, 49.6424)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79BB #BB8E4C
analogous
#4CB0BB #4C79BB #574CBB
triadic
#4C79BB #BB4C79 #79BB4C
tetradic
#4C79BB #BB4CB0 #BB8E4C #4CBB57
square
#4C79BB #BB4CB0 #BB8E4C #4CBB57
split-complementary
#4C79BB #BB574C #B0BB4C
monochromatic
#274066 #385C92 #4C79BB #789ACC #A5BBDD

Accessibility & contrast

On white

4.41
#4C79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4C79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79BB#FFFFFF#000000##000000
##4C79BB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c79bb;
/* rgb */ color: rgb(76, 121, 187);
/* oklch */ color: oklch(57.4% 0.114 257.9);
Tailwind
colors: {
  custom: {
    50: '#879fd0',
    500: '#4c79bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c79bb;
$custom-light: #879fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79bb",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 215.676,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.11394,
    "h": 257.9
  },
  "luminance": 0.18799
}

Semantic roles & 50–950 ramp

primary
#4C79BB
secondary
#CAB699
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C79BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4C79BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva