#4F79EA#4F79EA

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

Color values

HEX#4F79EA
RGBrgb(79, 121, 234)
HSLhsl(224, 79%, 61%)
HSVhsv(224, 66%, 92%)
CMYKcmyk(66.2%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.25, 21.48, -61.54)
CIE-LCHlch(53.25, 65.18, 289.24°)
OKLaboklab(60.46% -0.0125 -0.1764)
OKLCHoklch(60.46% 0.177 266)
XYZxyz(24.9079, 21.2751, 80.6198)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79EA #EAC04F
analogous
#4FC7EA #4F79EA #734FEA
triadic
#4F79EA #EA4F79 #79EA4F
tetradic
#4F79EA #EA4FC7 #EAC04F #4FEA73
square
#4F79EA #EA4FC7 #EAC04F #4FEA73
split-complementary
#4F79EA #EA734F #C7EA4F
monochromatic
#143DAA #1B51E1 #4F79EA #86A3F1 #BCCCF7

Accessibility & contrast

On white

4.00
#4F79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4F79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79EA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79EA#FFFFFF#000000##000000
##4F79EA1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#1178E8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f79ea;
/* rgb */ color: rgb(79, 121, 234);
/* oklch */ color: oklch(60.5% 0.177 266.0);
Tailwind
colors: {
  custom: {
    50: '#909ff1',
    500: '#4f79ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f79ea;
$custom-light: #909ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79ea",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 223.742,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.17684,
    "h": 266
  },
  "luminance": 0.21278
}

Semantic roles & 50–950 ramp

primary
#4F79EA
secondary
#E7D8AD
accent
#A20BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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