#4C79CB#4C79CB

#4C79CB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.136 H 261.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4C79CB
RGBrgb(76, 121, 203)
HSLhsl(219, 55%, 55%)
HSVhsv(219, 63%, 80%)
CMYKcmyk(62.6%, 40.4%, 0%, 20.4%)
CIE-LABlab(51.29, 10.26, -47.19)
CIE-LCHlch(51.29, 48.29, 282.27°)
OKLaboklab(58.33% -0.0202 -0.1343)
OKLCHoklch(58.33% 0.136 261.4)
XYZxyz(20.5936, 19.5212, 59.1710)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79CB #CB9E4C
analogous
#4CB9CB #4C79CB #5F4CCB
triadic
#4C79CB #CB4C79 #79CB4C
tetradic
#4C79CB #CB4CB9 #CB9E4C #4CCB5F
square
#4C79CB #CB4CB9 #CB9E4C #4CCB5F
split-complementary
#4C79CB #CB5F4C #B9CB4C
monochromatic
#234279 #315BA9 #4C79CB #7B9DD9 #ABC0E7

Accessibility & contrast

On white

4.28
#4C79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4C79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79CB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79CB#FFFFFF#000000##000000
##4C79CB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#4275C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c79cb;
/* rgb */ color: rgb(76, 121, 203);
/* oklch */ color: oklch(58.3% 0.136 261.4);
Tailwind
colors: {
  custom: {
    50: '#899fdb',
    500: '#4c79cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c79cb;
$custom-light: #899fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79cb",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 218.74,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.1358,
    "h": 261.4
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#4C79CB
secondary
#D4C19F
accent
#AA49DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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