#4F7AF4#4F7AF4

#4F7AF4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.189 H 266.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4F7AF4
RGBrgb(79, 122, 244)
HSLhsl(224, 88%, 63%)
HSVhsv(224, 68%, 96%)
CMYKcmyk(67.6%, 50%, 0%, 4.3%)
CIE-LABlab(54.14, 24.33, -65.67)
CIE-LCHlch(54.14, 70.03, 290.33°)
OKLaboklab(61.34% -0.0122 -0.1885)
OKLCHoklch(61.34% 0.189 266.3)
XYZxyz(26.5074, 22.1104, 88.4412)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AF4 #F4C94F
analogous
#4FCCF4 #4F7AF4 #764FF4
triadic
#4F7AF4 #F44F7A #7AF44F
tetradic
#4F7AF4 #F44FCC #F4C94F #4FF476
square
#4F7AF4 #F44FCC #F4C94F #4FF476
split-complementary
#4F7AF4 #F4764F #CCF44F
monochromatic
#0C3ABD #154EF0 #4F7AF4 #89A6F8 #C2D1FB

Accessibility & contrast

On white

3.87
#4F7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4F7AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AF4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AF4#FFFFFF#000000##000000
##4F7AF41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3289F8
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7af4;
/* rgb */ color: rgb(79, 122, 244);
/* oklch */ color: oklch(61.3% 0.189 266.3);
Tailwind
colors: {
  custom: {
    50: '#929ff8',
    500: '#4f7af4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7af4;
$custom-light: #929ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7af4",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 224.364,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.18893,
    "h": 266.3
  },
  "luminance": 0.22113
}

Semantic roles & 50–950 ramp

primary
#4F7AF4
secondary
#EDDDB2
accent
#A901E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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