#4F79F2#4F79F2

#4F79F2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.187 H 266.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4F79F2
RGBrgb(79, 121, 242)
HSLhsl(225, 86%, 63%)
HSVhsv(225, 67%, 95%)
CMYKcmyk(67.4%, 50%, 0%, 5.1%)
CIE-LABlab(53.76, 24.25, -65.18)
CIE-LCHlch(53.76, 69.55, 290.41°)
OKLaboklab(61.01% -0.0116 -0.1871)
OKLCHoklch(61.01% 0.187 266.5)
XYZxyz(26.0833, 21.7453, 86.8098)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79F2 #F2C84F
analogous
#4FCAF2 #4F79F2 #764FF2
triadic
#4F79F2 #F24F79 #79F24F
tetradic
#4F79F2 #F24FCA #F2C84F #4FF276
square
#4F79F2 #F24FCA #F2C84F #4FF276
split-complementary
#4F79F2 #F2764F #CAF24F
monochromatic
#0E3AB9 #164EEE #4F79F2 #88A4F6 #C1D0FA

Accessibility & contrast

On white

3.93
#4F79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4F79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79F2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79F2#FFFFFF#000000##000000
##4F79F21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f79f2;
/* rgb */ color: rgb(79, 121, 242);
/* oklch */ color: oklch(61.0% 0.187 266.5);
Tailwind
colors: {
  custom: {
    50: '#919ff7',
    500: '#4f79f2',
    950: '#000000',
  },
}
SCSS
$custom: #4f79f2;
$custom-light: #919ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79f2",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 224.54,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61007,
    "c": 0.18748,
    "h": 266.5
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#4F79F2
secondary
#ECDDB1
accent
#A903E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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