#4C79E8#4C79E8

#4C79E8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.175 H 265.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C79E8
RGBrgb(76, 121, 232)
HSLhsl(223, 77%, 60%)
HSVhsv(223, 67%, 91%)
CMYKcmyk(67.2%, 47.8%, 0%, 9%)
CIE-LABlab(52.99, 20.32, -60.85)
CIE-LCHlch(52.99, 64.15, 288.47°)
OKLaboklab(60.18% -0.0153 -0.1744)
OKLCHoklch(60.18% 0.175 265)
XYZxyz(24.3783, 21.0350, 79.1037)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79E8 #E8BB4C
analogous
#4CC7E8 #4C79E8 #6D4CE8
triadic
#4C79E8 #E84C79 #79E84C
tetradic
#4C79E8 #E84CC7 #E8BB4C #4CE86D
square
#4C79E8 #E84CC7 #E8BB4C #4CE86D
split-complementary
#4C79E8 #E86D4C #C7E84C
monochromatic
#153EA4 #1C53DB #4C79E8 #82A2EF #B8CAF6

Accessibility & contrast

On white

4.03
#4C79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4C79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79E8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79E8#FFFFFF#000000##000000
##4C79E81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EC
Deuteranopia (green-blind)
#1478E6
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c79e8;
/* rgb */ color: rgb(76, 121, 232);
/* oklch */ color: oklch(60.2% 0.175 265.0);
Tailwind
colors: {
  custom: {
    50: '#8e9ff0',
    500: '#4c79e8',
    950: '#000000',
  },
}
SCSS
$custom: #4c79e8;
$custom-light: #8e9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79e8",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 222.692,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60183,
    "c": 0.17509,
    "h": 265
  },
  "luminance": 0.21037
}

Semantic roles & 50–950 ramp

primary
#4C79E8
secondary
#E6D5AA
accent
#9E0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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