#4A79D9#4A79D9

#4A79D9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.156 H 262.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4A79D9
RGBrgb(74, 121, 217)
HSLhsl(220, 65%, 57%)
HSVhsv(220, 66%, 85%)
CMYKcmyk(65.9%, 44.2%, 0%, 14.9%)
CIE-LABlab(51.99, 14.76, -54.02)
CIE-LCHlch(51.99, 56.00, 285.29°)
OKLaboklab(59.1% -0.0192 -0.1544)
OKLCHoklch(59.1% 0.156 262.9)
XYZxyz(22.1814, 20.1382, 68.3503)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79D9 #D9AA4A
analogous
#4AC0D9 #4A79D9 #634AD9
triadic
#4A79D9 #D94A79 #79D94A
tetradic
#4A79D9 #D94AC0 #D9AA4A #4AD963
square
#4A79D9 #D94AC0 #D9AA4A #4AD963
split-complementary
#4A79D9 #D9634A #C0D94A
monochromatic
#1D418B #2859BE #4A79D9 #7D9EE4 #AFC4EE

Accessibility & contrast

On white

4.18
#4A79D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4A79D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79D9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79D9#FFFFFF#000000##000000
##4A79D91.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a79d9;
/* rgb */ color: rgb(74, 121, 217);
/* oklch */ color: oklch(59.1% 0.156 262.9);
Tailwind
colors: {
  custom: {
    50: '#8b9fe5',
    500: '#4a79d9',
    950: '#000000',
  },
}
SCSS
$custom: #4a79d9;
$custom-light: #8b9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79d9",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 220.28,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.15556,
    "h": 262.9
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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