#4F7AF5#4F7AF5

#4F7AF5 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.190 H 266.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4F7AF5
RGBrgb(79, 122, 245)
HSLhsl(224, 89%, 64%)
HSVhsv(224, 68%, 96%)
CMYKcmyk(67.8%, 50.2%, 0%, 3.9%)
CIE-LABlab(54.21, 24.68, -66.12)
CIE-LCHlch(54.21, 70.57, 290.46°)
OKLaboklab(61.41% -0.0121 -0.1899)
OKLCHoklch(61.41% 0.19 266.4)
XYZxyz(26.6597, 22.1713, 89.2430)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AF5 #F5CA4F
analogous
#4FCDF5 #4F7AF5 #774FF5
triadic
#4F7AF5 #F54F7A #7AF54F
tetradic
#4F7AF5 #F54FCD #F5CA4F #4FF577
square
#4F7AF5 #F54FCD #F5CA4F #4FF577
split-complementary
#4F7AF5 #F5774F #CDF54F
monochromatic
#0B39BF #154EF2 #4F7AF5 #89A6F8 #C3D2FC

Accessibility & contrast

On white

3.86
#4F7AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4F7AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AF5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AF5#FFFFFF#000000##000000
##4F7AF51.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AF9
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7af5;
/* rgb */ color: rgb(79, 122, 245);
/* oklch */ color: oklch(61.4% 0.190 266.4);
Tailwind
colors: {
  custom: {
    50: '#929ff9',
    500: '#4f7af5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7af5;
$custom-light: #929ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7af5",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 224.458,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61412,
    "c": 0.19025,
    "h": 266.4
  },
  "luminance": 0.22174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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