#4F79DF#4F79DF

#4F79DF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.162 H 265.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4F79DF
RGBrgb(79, 121, 223)
HSLhsl(223, 69%, 59%)
HSVhsv(223, 65%, 87%)
CMYKcmyk(64.6%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.58, 17.67, -56.45)
CIE-LCHlch(52.58, 59.15, 287.38°)
OKLaboklab(59.73% -0.014 -0.1614)
OKLCHoklch(59.73% 0.162 265)
XYZxyz(23.3765, 20.6625, 72.5541)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79DF #DFB54F
analogous
#4FC1DF #4F79DF #6D4FDF
triadic
#4F79DF #DF4F79 #79DF4F
tetradic
#4F79DF #DF4FC1 #DFB54F #4FDF6D
square
#4F79DF #DF4FC1 #DFB54F #4FDF6D
split-complementary
#4F79DF #DF6D4F #C1DF4F
monochromatic
#1C4098 #2556CC #4F79DF #83A0E8 #B7C8F2

Accessibility & contrast

On white

4.09
#4F79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4F79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79DF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79DF#FFFFFF#000000##000000
##4F79DF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#2C77DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f79df;
/* rgb */ color: rgb(79, 121, 223);
/* oklch */ color: oklch(59.7% 0.162 265.0);
Tailwind
colors: {
  custom: {
    50: '#8e9fe9',
    500: '#4f79df',
    950: '#000000',
  },
}
SCSS
$custom: #4f79df;
$custom-light: #8e9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79df",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 222.5,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.16204,
    "h": 265
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#4F79DF
secondary
#E1D1A9
accent
#B93CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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