#4F79CE#4F79CE

#4F79CE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.139 H 263.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4F79CE
RGBrgb(79, 121, 206)
HSLhsl(220, 56%, 56%)
HSVhsv(220, 62%, 81%)
CMYKcmyk(61.7%, 41.3%, 0%, 19.2%)
CIE-LABlab(51.60, 11.84, -48.40)
CIE-LCHlch(51.60, 49.82, 283.75°)
OKLaboklab(58.66% -0.017 -0.1378)
OKLCHoklch(58.66% 0.139 263)
XYZxyz(21.1985, 19.7914, 61.0835)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79CE #CEA44F
analogous
#4FB9CE #4F79CE #644FCE
triadic
#4F79CE #CE4F79 #79CE4F
tetradic
#4F79CE #CE4FB9 #CEA44F #4FCE64
square
#4F79CE #CE4FB9 #CEA44F #4FCE64
split-complementary
#4F79CE #CE644F #B9CE4F
monochromatic
#23427F #315BAF #4F79CE #7F9DDB #AFC2E9

Accessibility & contrast

On white

4.24
#4F79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4F79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79CE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79CE#FFFFFF#000000##000000
##4F79CE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f79ce;
/* rgb */ color: rgb(79, 121, 206);
/* oklch */ color: oklch(58.7% 0.139 263.0);
Tailwind
colors: {
  custom: {
    50: '#8b9fdd',
    500: '#4f79ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f79ce;
$custom-light: #8b9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79ce",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 220.157,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.13882,
    "h": 263
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#4F79CE
secondary
#D7C5A2
accent
#AE48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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