#4A79E2#4A79E2

#4A79E2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.168 H 263.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A79E2
RGBrgb(74, 121, 226)
HSLhsl(221, 72%, 59%)
HSVhsv(221, 67%, 89%)
CMYKcmyk(67.3%, 46.5%, 0%, 11.4%)
CIE-LABlab(52.53, 17.91, -58.23)
CIE-LCHlch(52.53, 60.92, 287.10°)
OKLaboklab(59.69% -0.0178 -0.1667)
OKLCHoklch(59.69% 0.168 263.9)
XYZxyz(23.3841, 20.6193, 74.6843)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79E2 #E2B34A
analogous
#4AC5E2 #4A79E2 #674AE2
triadic
#4A79E2 #E24A79 #79E24A
tetradic
#4A79E2 #E24AC5 #E2B34A #4AE267
square
#4A79E2 #E24AC5 #E2B34A #4AE267
split-complementary
#4A79E2 #E2674A #C5E24A
monochromatic
#194099 #2156CE #4A79E2 #7FA0EA #B3C7F3

Accessibility & contrast

On white

4.10
#4A79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79E2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79E2#FFFFFF#000000##000000
##4A79E21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#2277E0
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a79e2;
/* rgb */ color: rgb(74, 121, 226);
/* oklch */ color: oklch(59.7% 0.168 263.9);
Tailwind
colors: {
  custom: {
    50: '#8c9fec',
    500: '#4a79e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a79e2;
$custom-light: #8c9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79e2",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 221.447,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.16769,
    "h": 263.9
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#4A79E2
secondary
#E2CFA6
accent
#B739EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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