#4A79C7#4A79C7

#4A79C7 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.0% C 0.131 H 260.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4A79C7
RGBrgb(74, 121, 199)
HSLhsl(217, 53%, 54%)
HSVhsv(217, 63%, 78%)
CMYKcmyk(62.8%, 39.2%, 0%, 22%)
CIE-LABlab(50.98, 8.52, -45.41)
CIE-LCHlch(50.98, 46.20, 280.62°)
OKLaboklab(58% -0.0228 -0.1291)
OKLCHoklch(58% 0.131 260)
XYZxyz(19.9666, 19.2523, 56.6856)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79C7 #C7984A
analogous
#4AB7C7 #4A79C7 #594AC7
triadic
#4A79C7 #C74A79 #79C74A
tetradic
#4A79C7 #C74AB7 #C7984A #4AC759
square
#4A79C7 #C74AB7 #C7984A #4AC759
split-complementary
#4A79C7 #C7594A #B7C74A
monochromatic
#244173 #325CA2 #4A79C7 #799CD5 #A7BEE4

Accessibility & contrast

On white

4.33
#4A79C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4A79C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79C7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79C7#FFFFFF#000000##000000
##4A79C71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a79c7;
/* rgb */ color: rgb(74, 121, 199);
/* oklch */ color: oklch(58.0% 0.131 260.0);
Tailwind
colors: {
  custom: {
    50: '#889fd8',
    500: '#4a79c7',
    950: '#000000',
  },
}
SCSS
$custom: #4a79c7;
$custom-light: #889fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79c7",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 217.44,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.13109,
    "h": 260
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#4A79C7
secondary
#D1BD9C
accent
#A64CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4A79C7

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

Preview Lab → · Contrast checker → · Palette generator →

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