#4A79E6#4A79E6

#4A79E6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.173 H 264.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A79E6
RGBrgb(74, 121, 230)
HSLhsl(222, 76%, 60%)
HSVhsv(222, 68%, 90%)
CMYKcmyk(67.8%, 47.4%, 0%, 9.8%)
CIE-LABlab(52.78, 19.32, -60.08)
CIE-LCHlch(52.78, 63.11, 287.82°)
OKLaboklab(59.96% -0.0172 -0.1722)
OKLCHoklch(59.96% 0.173 264.3)
XYZxyz(23.9393, 20.8414, 77.6087)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79E6 #E6B74A
analogous
#4AC7E6 #4A79E6 #694AE6
triadic
#4A79E6 #E64A79 #79E64A
tetradic
#4A79E6 #E64AC7 #E6B74A #4AE669
square
#4A79E6 #E64AC7 #E6B74A #4AE669
split-complementary
#4A79E6 #E6694A #C7E64A
monochromatic
#163FA0 #1D55D5 #4A79E6 #80A1ED #B6C9F5

Accessibility & contrast

On white

4.06
#4A79E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4A79E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79E6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79E6#FFFFFF#000000##000000
##4A79E61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EA
Deuteranopia (green-blind)
#1877E4
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a79e6;
/* rgb */ color: rgb(74, 121, 230);
/* oklch */ color: oklch(60.0% 0.173 264.3);
Tailwind
colors: {
  custom: {
    50: '#8d9fee',
    500: '#4a79e6',
    950: '#000000',
  },
}
SCSS
$custom: #4a79e6;
$custom-light: #8d9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79e6",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 221.923,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.17304,
    "h": 264.3
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#4A79E6
secondary
#E4D2A8
accent
#B935F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A79E6

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

Preview Lab → · Contrast checker → · Palette generator →

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