#4F79DC#4F79DC

#4F79DC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.158 H 264.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F79DC
RGBrgb(79, 121, 220)
HSLhsl(222, 67%, 59%)
HSVhsv(222, 64%, 86%)
CMYKcmyk(64.1%, 45%, 0%, 13.7%)
CIE-LABlab(52.40, 16.64, -55.05)
CIE-LCHlch(52.40, 57.51, 286.82°)
OKLaboklab(59.54% -0.0144 -0.1573)
OKLCHoklch(59.54% 0.158 264.8)
XYZxyz(22.9756, 20.5022, 70.4428)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79DC #DCB24F
analogous
#4FBFDC #4F79DC #6B4FDC
triadic
#4F79DC #DC4F79 #79DC4F
tetradic
#4F79DC #DC4FBF #DCB24F #4FDC6B
square
#4F79DC #DC4FBF #DCB24F #4FDC6B
split-complementary
#4F79DC #DC6B4F #BFDC4F
monochromatic
#1D4093 #2757C6 #4F79DC #82A0E6 #B5C7F0

Accessibility & contrast

On white

4.12
#4F79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4F79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79DC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79DC#FFFFFF#000000##000000
##4F79DC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f79dc;
/* rgb */ color: rgb(79, 121, 220);
/* oklch */ color: oklch(59.5% 0.158 264.8);
Tailwind
colors: {
  custom: {
    50: '#8e9fe7',
    500: '#4f79dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f79dc;
$custom-light: #8e9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79dc",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 222.128,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59537,
    "c": 0.15796,
    "h": 264.8
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#4F79DC
secondary
#DFCFA8
accent
#B73EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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