#4C79E5#4C79E5

#4C79E5 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.171 H 264.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4C79E5
RGBrgb(76, 121, 229)
HSLhsl(222, 75%, 60%)
HSVhsv(222, 67%, 90%)
CMYKcmyk(66.8%, 47.2%, 0%, 10.2%)
CIE-LABlab(52.80, 19.27, -59.47)
CIE-LCHlch(52.80, 62.51, 287.96°)
OKLaboklab(59.98% -0.0157 -0.1704)
OKLCHoklch(59.98% 0.171 264.7)
XYZxyz(23.9558, 20.8660, 76.8786)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79E5 #E5B84C
analogous
#4CC5E5 #4C79E5 #6C4CE5
triadic
#4C79E5 #E54C79 #79E54C
tetradic
#4C79E5 #E54CC5 #E5B84C #4CE56C
square
#4C79E5 #E54CC5 #E5B84C #4CE56C
split-complementary
#4C79E5 #E56C4C #C5E54C
monochromatic
#173F9F #1F54D5 #4C79E5 #81A1ED #B7C9F5

Accessibility & contrast

On white

4.06
#4C79E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4C79E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79E5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79E5#FFFFFF#000000##000000
##4C79E51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E9
Deuteranopia (green-blind)
#1D77E3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c79e5;
/* rgb */ color: rgb(76, 121, 229);
/* oklch */ color: oklch(60.0% 0.171 264.7);
Tailwind
colors: {
  custom: {
    50: '#8e9fee',
    500: '#4c79e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c79e5;
$custom-light: #8e9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79e5",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 222.353,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.17108,
    "h": 264.7
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#4C79E5
secondary
#E4D3A9
accent
#BA37F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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