#4F79EB#4F79EB

#4F79EB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.178 H 266.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F79EB
RGBrgb(79, 121, 235)
HSLhsl(224, 80%, 62%)
HSVhsv(224, 66%, 92%)
CMYKcmyk(66.4%, 48.5%, 0%, 7.8%)
CIE-LABlab(53.31, 21.82, -62.00)
CIE-LCHlch(53.31, 65.73, 289.39°)
OKLaboklab(60.53% -0.0123 -0.1777)
OKLCHoklch(60.53% 0.178 266)
XYZxyz(25.0520, 21.3327, 81.3785)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79EB #EBC14F
analogous
#4FC7EB #4F79EB #734FEB
triadic
#4F79EB #EB4F79 #79EB4F
tetradic
#4F79EB #EB4FC7 #EBC14F #4FEB73
square
#4F79EB #EB4FC7 #EBC14F #4FEB73
split-complementary
#4F79EB #EB734F #C7EB4F
monochromatic
#143DAC #1A50E3 #4F79EB #86A3F1 #BDCDF7

Accessibility & contrast

On white

3.99
#4F79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79EB#FFFFFF#000000##000000
##4F79EB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#0D79E9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f79eb;
/* rgb */ color: rgb(79, 121, 235);
/* oklch */ color: oklch(60.5% 0.178 266.0);
Tailwind
colors: {
  custom: {
    50: '#909ff2',
    500: '#4f79eb',
    950: '#000000',
  },
}
SCSS
$custom: #4f79eb;
$custom-light: #909ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79eb",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 223.846,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.17818,
    "h": 266
  },
  "luminance": 0.21335
}

Semantic roles & 50–950 ramp

primary
#4F79EB
secondary
#E8D8AE
accent
#A30ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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