#4C79EB#4C79EB

#4C79EB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.179 H 265.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4C79EB
RGBrgb(76, 121, 235)
HSLhsl(223, 80%, 61%)
HSVhsv(223, 68%, 92%)
CMYKcmyk(67.7%, 48.5%, 0%, 7.8%)
CIE-LABlab(53.18, 21.37, -62.23)
CIE-LCHlch(53.18, 65.79, 288.95°)
OKLaboklab(60.39% -0.0149 -0.1785)
OKLCHoklch(60.39% 0.179 265.2)
XYZxyz(24.8080, 21.2069, 81.3671)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79EB #EBBE4C
analogous
#4CC8EB #4C79EB #6E4CEB
triadic
#4C79EB #EB4C79 #79EB4C
tetradic
#4C79EB #EB4CC8 #EBBE4C #4CEB6E
square
#4C79EB #EB4CC8 #EBBE4C #4CEB6E
split-complementary
#4C79EB #EB6E4C #C8EB4C
monochromatic
#133EAA #1952E1 #4C79EB #83A2F1 #BACBF7

Accessibility & contrast

On white

4.01
#4C79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4C79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79EB#FFFFFF#000000##000000
##4C79EB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#0678E9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c79eb;
/* rgb */ color: rgb(76, 121, 235);
/* oklch */ color: oklch(60.4% 0.179 265.2);
Tailwind
colors: {
  custom: {
    50: '#8f9ff2',
    500: '#4c79eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c79eb;
$custom-light: #8f9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79eb",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 223.019,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.17909,
    "h": 265.2
  },
  "luminance": 0.21209
}

Semantic roles & 50–950 ramp

primary
#4C79EB
secondary
#E7D6AB
accent
#A109DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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