#4C79D9#4C79D9

#4C79D9 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.155 H 263.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4C79D9
RGBrgb(76, 121, 217)
HSLhsl(221, 65%, 57%)
HSVhsv(221, 65%, 85%)
CMYKcmyk(65%, 44.2%, 0%, 14.9%)
CIE-LABlab(52.08, 15.09, -53.87)
CIE-LCHlch(52.08, 55.94, 285.65°)
OKLaboklab(59.2% -0.0175 -0.1539)
OKLCHoklch(59.2% 0.155 263.5)
XYZxyz(22.3379, 20.2189, 68.3576)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79D9 #D9AC4C
analogous
#4CC0D9 #4C79D9 #654CD9
triadic
#4C79D9 #D94C79 #79D94C
tetradic
#4C79D9 #D94CC0 #D9AC4C #4CD965
square
#4C79D9 #D94CC0 #D9AC4C #4CD965
split-complementary
#4C79D9 #D9654C #C0D94C
monochromatic
#1E418D #2959BF #4C79D9 #7E9FE4 #B1C5EE

Accessibility & contrast

On white

4.16
#4C79D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4C79D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79D9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79D9#FFFFFF#000000##000000
##4C79D91.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c79d9;
/* rgb */ color: rgb(76, 121, 217);
/* oklch */ color: oklch(59.2% 0.155 263.5);
Tailwind
colors: {
  custom: {
    50: '#8c9fe5',
    500: '#4c79d9',
    950: '#000000',
  },
}
SCSS
$custom: #4c79d9;
$custom-light: #8c9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79d9",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 220.851,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.15489,
    "h": 263.5
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#4C79D9
secondary
#DDCBA4
accent
#B240E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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