#4F79E5#4F79E5

#4F79E5 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.170 H 265.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F79E5
RGBrgb(79, 121, 229)
HSLhsl(223, 74%, 60%)
HSVhsv(223, 66%, 90%)
CMYKcmyk(65.5%, 47.2%, 0%, 10.2%)
CIE-LABlab(52.94, 19.75, -59.24)
CIE-LCHlch(52.94, 62.44, 288.44°)
OKLaboklab(60.12% -0.0131 -0.1696)
OKLCHoklch(60.12% 0.17 265.6)
XYZxyz(24.1998, 20.9918, 76.8901)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79E5 #E5BB4F
analogous
#4FC4E5 #4F79E5 #704FE5
triadic
#4F79E5 #E54F79 #79E54F
tetradic
#4F79E5 #E54FC4 #E5BB4F #4FE570
square
#4F79E5 #E54FC4 #E5BB4F #4FE570
split-complementary
#4F79E5 #E5704F #C4E54F
monochromatic
#183EA2 #2053D7 #4F79E5 #84A2ED #BACAF5

Accessibility & contrast

On white

4.04
#4F79E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4F79E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79E5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79E5#FFFFFF#000000##000000
##4F79E51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4186E9
Deuteranopia (green-blind)
#2078E3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f79e5;
/* rgb */ color: rgb(79, 121, 229);
/* oklch */ color: oklch(60.1% 0.170 265.6);
Tailwind
colors: {
  custom: {
    50: '#8f9fee',
    500: '#4f79e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f79e5;
$custom-light: #8f9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79e5",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 223.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.17014,
    "h": 265.6
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

primary
#4F79E5
secondary
#E5D5AB
accent
#9F0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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