#4F79E7#4F79E7

#4F79E7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.173 H 265.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F79E7
RGBrgb(79, 121, 231)
HSLhsl(223, 76%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(65.8%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.06, 20.44, -60.16)
CIE-LCHlch(53.06, 63.54, 288.76°)
OKLaboklab(60.26% -0.0129 -0.1723)
OKLCHoklch(60.26% 0.173 265.7)
XYZxyz(24.4806, 21.1042, 78.3692)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79E7 #E7BD4F
analogous
#4FC5E7 #4F79E7 #714FE7
triadic
#4F79E7 #E74F79 #79E74F
tetradic
#4F79E7 #E74FC5 #E7BD4F #4FE771
square
#4F79E7 #E74FC5 #E7BD4F #4FE771
split-complementary
#4F79E7 #E7714F #C5E74F
monochromatic
#173EA5 #1E52DB #4F79E7 #85A2EE #BBCBF6

Accessibility & contrast

On white

4.02
#4F79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4F79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79E7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79E7#FFFFFF#000000##000000
##4F79E71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#1B78E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f79e7;
/* rgb */ color: rgb(79, 121, 231);
/* oklch */ color: oklch(60.3% 0.173 265.7);
Tailwind
colors: {
  custom: {
    50: '#8f9fef',
    500: '#4f79e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f79e7;
$custom-light: #8f9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79e7",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 223.421,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.17282,
    "h": 265.7
  },
  "luminance": 0.21107
}

Semantic roles & 50–950 ramp

primary
#4F79E7
secondary
#E6D6AC
accent
#A00DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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