#4C79BD#4C79BD

#4C79BD is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.5% C 0.117 H 258.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4C79BD
RGBrgb(76, 121, 189)
HSLhsl(216, 46%, 52%)
HSVhsv(216, 60%, 74%)
CMYKcmyk(59.8%, 36%, 0%, 25.9%)
CIE-LABlab(50.55, 5.50, -40.35)
CIE-LCHlch(50.55, 40.73, 277.76°)
OKLaboklab(57.52% -0.0234 -0.1143)
OKLCHoklch(57.52% 0.117 258.4)
XYZxyz(18.9999, 18.8837, 50.7779)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79BD #BD904C
analogous
#4CB2BD #4C79BD #584CBD
triadic
#4C79BD #BD4C79 #79BD4C
tetradic
#4C79BD #BD4CB2 #BD904C #4CBD58
square
#4C79BD #BD4CB2 #BD904C #4CBD58
split-complementary
#4C79BD #BD584C #B2BD4C
monochromatic
#264168 #375C95 #4C79BD #799ACD #A5BCDE

Accessibility & contrast

On white

4.40
#4C79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4C79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79BD#FFFFFF#000000##000000
##4C79BD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC0
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c79bd;
/* rgb */ color: rgb(76, 121, 189);
/* oklch */ color: oklch(57.5% 0.117 258.4);
Tailwind
colors: {
  custom: {
    50: '#879fd1',
    500: '#4c79bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c79bd;
$custom-light: #879fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79bd",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 216.106,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.11666,
    "h": 258.4
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#4C79BD
secondary
#CBB79A
accent
#A152D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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