#4F79DB#4F79DB

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

Color values

HEX#4F79DB
RGBrgb(79, 121, 219)
HSLhsl(222, 66%, 58%)
HSVhsv(222, 64%, 86%)
CMYKcmyk(63.9%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.34, 16.29, -54.58)
CIE-LCHlch(52.34, 56.96, 286.62°)
OKLaboklab(59.47% -0.0146 -0.1559)
OKLCHoklch(59.47% 0.157 264.6)
XYZxyz(22.8436, 20.4494, 69.7474)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79DB #DBB14F
analogous
#4FBFDB #4F79DB #6B4FDB
triadic
#4F79DB #DB4F79 #79DB4F
tetradic
#4F79DB #DB4FBF #DBB14F #4FDB6B
square
#4F79DB #DB4FBF #DBB14F #4FDB6B
split-complementary
#4F79DB #DB6B4F #BFDB4F
monochromatic
#1E4192 #2857C5 #4F79DB #82A0E5 #B5C6F0

Accessibility & contrast

On white

4.13
#4F79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4F79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79DB#FFFFFF#000000##000000
##4F79DB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f79db;
/* rgb */ color: rgb(79, 121, 219);
/* oklch */ color: oklch(59.5% 0.157 264.6);
Tailwind
colors: {
  custom: {
    50: '#8d9fe7',
    500: '#4f79db',
    950: '#000000',
  },
}
SCSS
$custom: #4f79db;
$custom-light: #8d9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79db",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 222,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.1566,
    "h": 264.6
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#4F79DB
secondary
#DFCEA7
accent
#B63FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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