#4F79E2#4F79E2

#4F79E2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.166 H 265.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F79E2
RGBrgb(79, 121, 226)
HSLhsl(223, 72%, 60%)
HSVhsv(223, 65%, 89%)
CMYKcmyk(65%, 46.5%, 0%, 11.4%)
CIE-LABlab(52.76, 18.71, -57.85)
CIE-LCHlch(52.76, 60.80, 287.92°)
OKLaboklab(59.93% -0.0135 -0.1655)
OKLCHoklch(59.93% 0.166 265.3)
XYZxyz(23.7845, 20.8258, 74.7031)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79E2 #E2B84F
analogous
#4FC3E2 #4F79E2 #6F4FE2
triadic
#4F79E2 #E24F79 #79E24F
tetradic
#4F79E2 #E24FC3 #E2B84F #4FE26F
square
#4F79E2 #E24FC3 #E2B84F #4FE26F
split-complementary
#4F79E2 #E26F4F #C3E24F
monochromatic
#1A3F9D #2254D1 #4F79E2 #84A1EB #B8C9F3

Accessibility & contrast

On white

4.07
#4F79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79E2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79E2#FFFFFF#000000##000000
##4F79E21.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#2778E0
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f79e2;
/* rgb */ color: rgb(79, 121, 226);
/* oklch */ color: oklch(59.9% 0.166 265.3);
Tailwind
colors: {
  custom: {
    50: '#8f9fec',
    500: '#4f79e2',
    950: '#000000',
  },
}
SCSS
$custom: #4f79e2;
$custom-light: #8f9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79e2",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 222.857,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.16609,
    "h": 265.3
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#4F79E2
secondary
#E3D3AA
accent
#BB39EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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