#4C79CF#4C79CF

#4C79CF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.141 H 262.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4C79CF
RGBrgb(76, 121, 207)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 63%, 81%)
CMYKcmyk(63.3%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.51, 11.63, -49.11)
CIE-LCHlch(51.51, 50.47, 283.33°)
OKLaboklab(58.57% -0.0194 -0.1399)
OKLCHoklch(58.57% 0.141 262.1)
XYZxyz(21.0764, 19.7143, 61.7139)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79CF #CFA24C
analogous
#4CBBCF #4C79CF #604CCF
triadic
#4C79CF #CF4C79 #79CF4C
tetradic
#4C79CF #CF4CBB #CFA24C #4CCF60
square
#4C79CF #CF4CBB #CFA24C #4CCF60
split-complementary
#4C79CF #CF604C #BBCF4C
monochromatic
#22427F #2F5BAF #4C79CF #7C9DDC #ADC1E9

Accessibility & contrast

On white

4.25
#4C79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4C79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79CF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79CF#FFFFFF#000000##000000
##4C79CF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#3E75CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c79cf;
/* rgb */ color: rgb(76, 121, 207);
/* oklch */ color: oklch(58.6% 0.141 262.1);
Tailwind
colors: {
  custom: {
    50: '#8a9fde',
    500: '#4c79cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c79cf;
$custom-light: #8a9fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79cf",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 219.389,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.14127,
    "h": 262.1
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#4C79CF
secondary
#D7C4A0
accent
#AC47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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