#4A79E4#4A79E4

#4A79E4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.8% C 0.170 H 264.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4A79E4
RGBrgb(74, 121, 228)
HSLhsl(222, 74%, 59%)
HSVhsv(222, 68%, 89%)
CMYKcmyk(67.5%, 46.9%, 0%, 10.6%)
CIE-LABlab(52.65, 18.61, -59.15)
CIE-LCHlch(52.65, 62.01, 287.47°)
OKLaboklab(59.82% -0.0175 -0.1695)
OKLCHoklch(59.82% 0.17 264.1)
XYZxyz(23.6601, 20.7297, 76.1381)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79E4 #E4B54A
analogous
#4AC6E4 #4A79E4 #684AE4
triadic
#4A79E4 #E44A79 #79E44A
tetradic
#4A79E4 #E44AC6 #E4B54A #4AE468
square
#4A79E4 #E44AC6 #E4B54A #4AE468
split-complementary
#4A79E4 #E4684A #C6E44A
monochromatic
#17409C #1F56D2 #4A79E4 #7FA0EC #B5C8F4

Accessibility & contrast

On white

4.08
#4A79E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4A79E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79E4#FFFFFF#000000##000000
##4A79E41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#1E77E2
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a79e4;
/* rgb */ color: rgb(74, 121, 228);
/* oklch */ color: oklch(59.8% 0.170 264.1);
Tailwind
colors: {
  custom: {
    50: '#8d9fed',
    500: '#4a79e4',
    950: '#000000',
  },
}
SCSS
$custom: #4a79e4;
$custom-light: #8d9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79e4",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 221.688,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.17037,
    "h": 264.1
  },
  "luminance": 0.20732
}

Semantic roles & 50–950 ramp

primary
#4A79E4
secondary
#E3D1A7
accent
#B837F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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