#4C79DC#4C79DC

#4C79DC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.159 H 263.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4C79DC
RGBrgb(76, 121, 220)
HSLhsl(221, 67%, 58%)
HSVhsv(221, 65%, 86%)
CMYKcmyk(65.5%, 45%, 0%, 13.7%)
CIE-LABlab(52.26, 16.14, -55.28)
CIE-LCHlch(52.26, 57.58, 286.27°)
OKLaboklab(59.39% -0.017 -0.158)
OKLCHoklch(59.39% 0.159 263.8)
XYZxyz(22.7316, 20.3764, 70.4313)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79DC #DCAF4C
analogous
#4CC1DC #4C79DC #674CDC
triadic
#4C79DC #DC4C79 #79DC4C
tetradic
#4C79DC #DC4CC1 #DCAF4C #4CDC67
square
#4C79DC #DC4CC1 #DCAF4C #4CDC67
split-complementary
#4C79DC #DC674C #C1DC4C
monochromatic
#1C4191 #2658C4 #4C79DC #7F9FE6 #B2C6F0

Accessibility & contrast

On white

4.14
#4C79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4C79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79DC#FFFFFF#000000##000000
##4C79DC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#2F76DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c79dc;
/* rgb */ color: rgb(76, 121, 220);
/* oklch */ color: oklch(59.4% 0.159 263.8);
Tailwind
colors: {
  custom: {
    50: '#8c9fe7',
    500: '#4c79dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c79dc;
$custom-light: #8c9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79dc",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 221.25,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.15896,
    "h": 263.8
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#4C79DC
secondary
#DFCDA5
accent
#B43EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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