#4F79D6#4F79D6

#4F79D6 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.150 H 264.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F79D6
RGBrgb(79, 121, 214)
HSLhsl(221, 62%, 57%)
HSVhsv(221, 63%, 84%)
CMYKcmyk(63.1%, 43.5%, 0%, 16.1%)
CIE-LABlab(52.05, 14.58, -52.22)
CIE-LCHlch(52.05, 54.21, 285.60°)
OKLaboklab(59.16% -0.0155 -0.149)
OKLCHoklch(59.16% 0.15 264.1)
XYZxyz(22.1952, 20.1900, 66.3327)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79D6 #D6AC4F
analogous
#4FBDD6 #4F79D6 #684FD6
triadic
#4F79D6 #D64F79 #79D64F
tetradic
#4F79D6 #D64FBD #D6AC4F #4FD668
square
#4F79D6 #D64FBD #D6AC4F #4FD668
split-complementary
#4F79D6 #D6684F #BDD64F
monochromatic
#20418A #2C59BC #4F79D6 #819FE2 #B2C5ED

Accessibility & contrast

On white

4.17
#4F79D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F79D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79D6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79D6#FFFFFF#000000##000000
##4F79D61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83DA
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f79d6;
/* rgb */ color: rgb(79, 121, 214);
/* oklch */ color: oklch(59.2% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#8d9fe3',
    500: '#4f79d6',
    950: '#000000',
  },
}
SCSS
$custom: #4f79d6;
$custom-light: #8d9fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79d6",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 221.333,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.14978,
    "h": 264.1
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#4F79D6
secondary
#DCCBA5
accent
#B343E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F79D6

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

Preview Lab → · Contrast checker → · Palette generator →

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