#4F79DE#4F79DE

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

Color values

HEX#4F79DE
RGBrgb(79, 121, 222)
HSLhsl(222, 68%, 59%)
HSVhsv(222, 64%, 87%)
CMYKcmyk(64.4%, 45.5%, 0%, 12.9%)
CIE-LABlab(52.52, 17.33, -55.98)
CIE-LCHlch(52.52, 58.60, 287.20°)
OKLaboklab(59.67% -0.0141 -0.16)
OKLCHoklch(59.67% 0.161 265)
XYZxyz(23.2421, 20.6088, 71.8461)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79DE #DEB44F
analogous
#4FC0DE #4F79DE #6D4FDE
triadic
#4F79DE #DE4F79 #79DE4F
tetradic
#4F79DE #DE4FC0 #DEB44F #4FDE6D
square
#4F79DE #DE4FC0 #DEB44F #4FDE6D
split-complementary
#4F79DE #DE6D4F #C0DE4F
monochromatic
#1C4096 #2656CA #4F79DE #83A0E8 #B6C7F1

Accessibility & contrast

On white

4.10
#4F79DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4F79DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79DE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79DE#FFFFFF#000000##000000
##4F79DE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E2
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f79de;
/* rgb */ color: rgb(79, 121, 222);
/* oklch */ color: oklch(59.7% 0.161 265.0);
Tailwind
colors: {
  custom: {
    50: '#8e9fe9',
    500: '#4f79de',
    950: '#000000',
  },
}
SCSS
$custom: #4f79de;
$custom-light: #8e9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79de",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 222.378,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.16067,
    "h": 265
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#4F79DE
secondary
#E0D0A8
accent
#B83DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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