#4F79D8#4F79D8

#4F79D8 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.153 H 264.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4F79D8
RGBrgb(79, 121, 216)
HSLhsl(222, 64%, 58%)
HSVhsv(222, 63%, 85%)
CMYKcmyk(63.4%, 44%, 0%, 15.3%)
CIE-LABlab(52.17, 15.26, -53.16)
CIE-LCHlch(52.17, 55.31, 286.02°)
OKLaboklab(59.28% -0.0151 -0.1518)
OKLCHoklch(59.28% 0.153 264.3)
XYZxyz(22.4522, 20.2928, 67.6861)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79D8 #D8AE4F
analogous
#4FBDD8 #4F79D8 #694FD8
triadic
#4F79D8 #D84F79 #79D84F
tetradic
#4F79D8 #D84FBD #D8AE4F #4FD869
square
#4F79D8 #D84FBD #D8AE4F #4FD869
split-complementary
#4F79D8 #D8694F #BDD84F
monochromatic
#1F418D #2A58BF #4F79D8 #819FE3 #B3C5EE

Accessibility & contrast

On white

4.15
#4F79D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4F79D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79D8#FFFFFF#000000##000000
##4F79D81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DC
Deuteranopia (green-blind)
#3677D6
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f79d8;
/* rgb */ color: rgb(79, 121, 216);
/* oklch */ color: oklch(59.3% 0.153 264.3);
Tailwind
colors: {
  custom: {
    50: '#8d9fe4',
    500: '#4f79d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f79d8;
$custom-light: #8d9fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79d8",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 216
  },
  "hsl": {
    "h": 221.606,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.15251,
    "h": 264.3
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#4F79D8
secondary
#DDCCA6
accent
#B441E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F79D8

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

Preview Lab → · Contrast checker → · Palette generator →

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