#4C79CC#4C79CC

#4C79CC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.137 H 261.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4C79CC
RGBrgb(76, 121, 204)
HSLhsl(219, 56%, 55%)
HSVhsv(219, 63%, 80%)
CMYKcmyk(62.7%, 40.7%, 0%, 20%)
CIE-LABlab(51.35, 10.60, -47.67)
CIE-LCHlch(51.35, 48.84, 282.54°)
OKLaboklab(58.39% -0.02 -0.1357)
OKLCHoklch(58.39% 0.137 261.6)
XYZxyz(20.7131, 19.5690, 59.8007)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79CC #CC9F4C
analogous
#4CB9CC #4C79CC #5F4CCC
triadic
#4C79CC #CC4C79 #79CC4C
tetradic
#4C79CC #CC4CB9 #CC9F4C #4CCC5F
square
#4C79CC #CC4CB9 #CC9F4C #4CCC5F
split-complementary
#4C79CC #CC5F4C #B9CC4C
monochromatic
#23427B #315BAA #4C79CC #7C9DDA #ABC0E7

Accessibility & contrast

On white

4.27
#4C79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4C79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79CC#FFFFFF#000000##000000
##4C79CC1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c79cc;
/* rgb */ color: rgb(76, 121, 204);
/* oklch */ color: oklch(58.4% 0.137 261.6);
Tailwind
colors: {
  custom: {
    50: '#8a9fdc',
    500: '#4c79cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c79cc;
$custom-light: #8a9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79cc",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 218.906,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.13716,
    "h": 261.6
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

primary
#4C79CC
secondary
#D5C29F
accent
#AA49DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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