#4A79EA#4A79EA

#4A79EA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.178 H 264.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4A79EA
RGBrgb(74, 121, 234)
HSLhsl(222, 79%, 60%)
HSVhsv(222, 68%, 92%)
CMYKcmyk(68.4%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.02, 20.72, -61.91)
CIE-LCHlch(53.02, 65.29, 288.51°)
OKLaboklab(60.23% -0.0167 -0.1776)
OKLCHoklch(60.23% 0.178 264.6)
XYZxyz(24.5075, 21.0686, 80.6010)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79EA #EABB4A
analogous
#4AC9EA #4A79EA #6B4AEA
triadic
#4A79EA #EA4A79 #79EA4A
tetradic
#4A79EA #EA4AC9 #EABB4A #4AEA6B
square
#4A79EA #EA4AC9 #EABB4A #4AEA6B
split-complementary
#4A79EA #EA6B4A #C9EA4A
monochromatic
#133EA6 #1A53DD #4A79EA #81A2F0 #B8CAF7

Accessibility & contrast

On white

4.03
#4A79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4A79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79EA#FFFFFF#000000##000000
##4A79EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#0778E8
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a79ea;
/* rgb */ color: rgb(74, 121, 234);
/* oklch */ color: oklch(60.2% 0.178 264.6);
Tailwind
colors: {
  custom: {
    50: '#8e9ff1',
    500: '#4a79ea',
    950: '#000000',
  },
}
SCSS
$custom: #4a79ea;
$custom-light: #8e9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79ea",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 222.375,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60226,
    "c": 0.17837,
    "h": 264.6
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#4A79EA
secondary
#E6D5A9
accent
#9E0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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