#4F79F4#4F79F4

#4F79F4 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.190 H 266.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4F79F4
RGBrgb(79, 121, 244)
HSLhsl(225, 88%, 63%)
HSVhsv(225, 68%, 96%)
CMYKcmyk(67.6%, 50.4%, 0%, 4.3%)
CIE-LABlab(53.88, 24.94, -66.09)
CIE-LCHlch(53.88, 70.64, 290.68°)
OKLaboklab(61.15% -0.0114 -0.1898)
OKLCHoklch(61.15% 0.19 266.6)
XYZxyz(26.3853, 21.8661, 88.4005)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79F4 #F4CA4F
analogous
#4FCCF4 #4F79F4 #774FF4
triadic
#4F79F4 #F44F79 #79F44F
tetradic
#4F79F4 #F44FCC #F4CA4F #4FF477
square
#4F79F4 #F44FCC #F4CA4F #4FF477
split-complementary
#4F79F4 #F4774F #CCF44F
monochromatic
#0C39BD #154DF0 #4F79F4 #89A5F8 #C2D1FB

Accessibility & contrast

On white

3.91
#4F79F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4F79F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79F4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79F4#FFFFFF#000000##000000
##4F79F41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89F8
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f79f4;
/* rgb */ color: rgb(79, 121, 244);
/* oklch */ color: oklch(61.1% 0.190 266.6);
Tailwind
colors: {
  custom: {
    50: '#929ff8',
    500: '#4f79f4',
    950: '#000000',
  },
}
SCSS
$custom: #4f79f4;
$custom-light: #929ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79f4",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 224.727,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.19012,
    "h": 266.6
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#4F79F4
secondary
#EDDEB2
accent
#AB01E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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