#4C79E7#4C79E7

#4C79E7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.174 H 264.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C79E7
RGBrgb(76, 121, 231)
HSLhsl(223, 76%, 60%)
HSVhsv(223, 67%, 91%)
CMYKcmyk(67.1%, 47.6%, 0%, 9.4%)
CIE-LABlab(52.93, 19.97, -60.39)
CIE-LCHlch(52.93, 63.61, 288.30°)
OKLaboklab(60.11% -0.0154 -0.1731)
OKLCHoklch(60.11% 0.174 264.9)
XYZxyz(24.2366, 20.9784, 78.3578)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79E7 #E7BA4C
analogous
#4CC6E7 #4C79E7 #6D4CE7
triadic
#4C79E7 #E74C79 #79E74C
tetradic
#4C79E7 #E74CC6 #E7BA4C #4CE76D
square
#4C79E7 #E74CC6 #E7BA4C #4CE76D
split-complementary
#4C79E7 #E76D4C #C6E74C
monochromatic
#163FA3 #1D54D9 #4C79E7 #82A1EE #B8CAF5

Accessibility & contrast

On white

4.04
#4C79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4C79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79E7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79E7#FFFFFF#000000##000000
##4C79E71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#1878E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c79e7;
/* rgb */ color: rgb(76, 121, 231);
/* oklch */ color: oklch(60.1% 0.174 264.9);
Tailwind
colors: {
  custom: {
    50: '#8e9fef',
    500: '#4c79e7',
    950: '#000000',
  },
}
SCSS
$custom: #4c79e7;
$custom-light: #8e9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79e7",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 222.581,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.17376,
    "h": 264.9
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#4C79E7
secondary
#E5D4AA
accent
#9D0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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