#4C79BF#4C79BF

#4C79BF is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.119 H 258.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4C79BF
RGBrgb(76, 121, 191)
HSLhsl(217, 47%, 52%)
HSVhsv(217, 60%, 75%)
CMYKcmyk(60.2%, 36.6%, 0%, 25.1%)
CIE-LABlab(50.65, 6.17, -41.34)
CIE-LCHlch(50.65, 41.80, 278.49°)
OKLaboklab(57.63% -0.0229 -0.1172)
OKLCHoklch(57.63% 0.119 258.9)
XYZxyz(19.2185, 18.9711, 51.9291)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79BF #BF924C
analogous
#4CB2BF #4C79BF #594CBF
triadic
#4C79BF #BF4C79 #79BF4C
tetradic
#4C79BF #BF4CB2 #BF924C #4CBF59
square
#4C79BF #BF4CB2 #BF924C #4CBF59
split-complementary
#4C79BF #BF594C #B2BF4C
monochromatic
#26416B #365C98 #4C79BF #799BCF #A6BCDF

Accessibility & contrast

On white

4.38
#4C79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4C79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79BF#FFFFFF#000000##000000
##4C79BF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c79bf;
/* rgb */ color: rgb(76, 121, 191);
/* oklch */ color: oklch(57.6% 0.119 258.9);
Tailwind
colors: {
  custom: {
    50: '#889fd2',
    500: '#4c79bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c79bf;
$custom-light: #889fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79bf",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 216.522,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.11939,
    "h": 258.9
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#4C79BF
secondary
#CCB99A
accent
#A251D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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