#4A79E5#4A79E5

#4A79E5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.172 H 264.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4A79E5
RGBrgb(74, 121, 229)
HSLhsl(222, 75%, 59%)
HSVhsv(222, 68%, 90%)
CMYKcmyk(67.7%, 47.2%, 0%, 10.2%)
CIE-LABlab(52.71, 18.97, -59.61)
CIE-LCHlch(52.71, 62.56, 287.65°)
OKLaboklab(59.89% -0.0174 -0.1708)
OKLCHoklch(59.89% 0.172 264.2)
XYZxyz(23.7993, 20.7854, 76.8713)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79E5 #E5B64A
analogous
#4AC7E5 #4A79E5 #684AE5
triadic
#4A79E5 #E54A79 #79E54A
tetradic
#4A79E5 #E54AC7 #E5B64A #4AE568
square
#4A79E5 #E54AC7 #E5B64A #4AE568
split-complementary
#4A79E5 #E5684A #C7E54A
monochromatic
#17409E #1E55D3 #4A79E5 #80A1ED #B5C8F4

Accessibility & contrast

On white

4.07
#4A79E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4A79E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79E5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79E5#FFFFFF#000000##000000
##4A79E51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E9
Deuteranopia (green-blind)
#1B77E3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a79e5;
/* rgb */ color: rgb(74, 121, 229);
/* oklch */ color: oklch(59.9% 0.172 264.2);
Tailwind
colors: {
  custom: {
    50: '#8d9fee',
    500: '#4a79e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a79e5;
$custom-light: #8d9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79e5",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 221.806,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.17171,
    "h": 264.2
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#4A79E5
secondary
#E4D1A7
accent
#B936F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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