#4A79D8#4A79D8

#4A79D8 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.154 H 262.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4A79D8
RGBrgb(74, 121, 216)
HSLhsl(220, 65%, 57%)
HSVhsv(220, 66%, 85%)
CMYKcmyk(65.7%, 44%, 0%, 15.3%)
CIE-LABlab(51.93, 14.41, -53.55)
CIE-LCHlch(51.93, 55.45, 285.07°)
OKLaboklab(59.04% -0.0194 -0.153)
OKLCHoklch(59.04% 0.154 262.8)
XYZxyz(22.0517, 20.0863, 67.6674)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79D8 #D8A94A
analogous
#4AC0D8 #4A79D8 #624AD8
triadic
#4A79D8 #D84A79 #79D84A
tetradic
#4A79D8 #D84AC0 #D8A94A #4AD862
square
#4A79D8 #D84AC0 #D8A94A #4AD862
split-complementary
#4A79D8 #D8624A #C0D84A
monochromatic
#1E428A #2959BC #4A79D8 #7C9EE3 #AFC4EE

Accessibility & contrast

On white

4.19
#4A79D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4A79D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79D8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79D8#FFFFFF#000000##000000
##4A79D81.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a79d8;
/* rgb */ color: rgb(74, 121, 216);
/* oklch */ color: oklch(59.0% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#8b9fe4',
    500: '#4a79d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a79d8;
$custom-light: #8b9fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79d8",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 216
  },
  "hsl": {
    "h": 220.141,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.15421,
    "h": 262.8
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#4A79D8
secondary
#DCC9A2
accent
#B040E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A79D8

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

Preview Lab → · Contrast checker → · Palette generator →

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