#4F79E8#4F79E8

#4F79E8 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.174 H 265.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4F79E8
RGBrgb(79, 121, 232)
HSLhsl(224, 77%, 61%)
HSVhsv(224, 66%, 91%)
CMYKcmyk(65.9%, 47.8%, 0%, 9%)
CIE-LABlab(53.13, 20.79, -60.62)
CIE-LCHlch(53.13, 64.09, 288.93°)
OKLaboklab(60.33% -0.0127 -0.1737)
OKLCHoklch(60.33% 0.174 265.8)
XYZxyz(24.6223, 21.1608, 79.1151)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79E8 #E8BE4F
analogous
#4FC6E8 #4F79E8 #714FE8
triadic
#4F79E8 #E84F79 #79E84F
tetradic
#4F79E8 #E84FC6 #E8BE4F #4FE871
square
#4F79E8 #E84FC6 #E8BE4F #4FE871
split-complementary
#4F79E8 #E8714F #C6E84F
monochromatic
#163EA7 #1D52DD #4F79E8 #85A2EF #BBCBF6

Accessibility & contrast

On white

4.01
#4F79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4F79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79E8#FFFFFF#000000##000000
##4F79E81.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EC
Deuteranopia (green-blind)
#1878E6
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f79e8;
/* rgb */ color: rgb(79, 121, 232);
/* oklch */ color: oklch(60.3% 0.174 265.8);
Tailwind
colors: {
  custom: {
    50: '#909ff0',
    500: '#4f79e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f79e8;
$custom-light: #909ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79e8",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 223.529,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.17417,
    "h": 265.8
  },
  "luminance": 0.21163
}

Semantic roles & 50–950 ramp

primary
#4F79E8
secondary
#E6D6AD
accent
#A10CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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