#4C79DA#4C79DA

#4C79DA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.156 H 263.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4C79DA
RGBrgb(76, 121, 218)
HSLhsl(221, 66%, 58%)
HSVhsv(221, 65%, 85%)
CMYKcmyk(65.1%, 44.5%, 0%, 14.5%)
CIE-LABlab(52.14, 15.44, -54.34)
CIE-LCHlch(52.14, 56.49, 285.86°)
OKLaboklab(59.26% -0.0174 -0.1553)
OKLCHoklch(59.26% 0.156 263.6)
XYZxyz(22.4683, 20.2711, 69.0447)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79DA #DAAD4C
analogous
#4CC0DA #4C79DA #664CDA
triadic
#4C79DA #DA4C79 #79DA4C
tetradic
#4C79DA #DA4CC0 #DAAD4C #4CDA66
square
#4C79DA #DA4CC0 #DAAD4C #4CDA66
split-complementary
#4C79DA #DA664C #C0DA4C
monochromatic
#1D418E #2858C1 #4C79DA #7F9FE4 #B1C5EF

Accessibility & contrast

On white

4.15
#4C79DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4C79DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79DA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79DA#FFFFFF#000000##000000
##4C79DA1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c79da;
/* rgb */ color: rgb(76, 121, 218);
/* oklch */ color: oklch(59.3% 0.156 263.6);
Tailwind
colors: {
  custom: {
    50: '#8c9fe6',
    500: '#4c79da',
    950: '#000000',
  },
}
SCSS
$custom: #4c79da;
$custom-light: #8c9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79da",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 220.986,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.15625,
    "h": 263.6
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C79DA

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

Preview Lab → · Contrast checker → · Palette generator →

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