#4C79CA#4C79CA

#4C79CA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.134 H 261.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4C79CA
RGBrgb(76, 121, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 62%, 79%)
CMYKcmyk(62.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.24, 9.92, -46.71)
CIE-LCHlch(51.24, 47.75, 281.99°)
OKLaboklab(58.27% -0.0204 -0.1329)
OKLCHoklch(58.27% 0.134 261.3)
XYZxyz(20.4748, 19.4736, 58.5455)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79CA #CA9D4C
analogous
#4CB8CA #4C79CA #5E4CCA
triadic
#4C79CA #CA4C79 #79CA4C
tetradic
#4C79CA #CA4CB8 #CA9D4C #4CCA5E
square
#4C79CA #CA4CB8 #CA9D4C #4CCA5E
split-complementary
#4C79CA #CA5E4C #B8CA4C
monochromatic
#244278 #325CA7 #4C79CA #7B9CD8 #AAC0E6

Accessibility & contrast

On white

4.29
#4C79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4C79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79CA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79CA#FFFFFF#000000##000000
##4C79CA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c79ca;
/* rgb */ color: rgb(76, 121, 202);
/* oklch */ color: oklch(58.3% 0.134 261.3);
Tailwind
colors: {
  custom: {
    50: '#899fda',
    500: '#4c79ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c79ca;
$custom-light: #899fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79ca",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 218.571,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.13443,
    "h": 261.3
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#4C79CA
secondary
#D4C19E
accent
#A94ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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