#4F7AF2#4F7AF2

#4F7AF2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.186 H 266.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F7AF2
RGBrgb(79, 122, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 67%, 95%)
CMYKcmyk(67.4%, 49.6%, 0%, 5.1%)
CIE-LABlab(54.02, 23.63, -64.76)
CIE-LCHlch(54.02, 68.94, 290.05°)
OKLaboklab(61.2% -0.0124 -0.1859)
OKLCHoklch(61.2% 0.186 266.2)
XYZxyz(26.2054, 21.9896, 86.8506)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AF2 #F2C74F
analogous
#4FCBF2 #4F7AF2 #764FF2
triadic
#4F7AF2 #F24F7A #7AF24F
tetradic
#4F7AF2 #F24FCB #F2C74F #4FF276
square
#4F7AF2 #F24FCB #F2C74F #4FF276
split-complementary
#4F7AF2 #F2764F #CBF24F
monochromatic
#0E3BB9 #164FEE #4F7AF2 #88A5F6 #C1D0FA

Accessibility & contrast

On white

3.89
#4F7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4F7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AF2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AF2#FFFFFF#000000##000000
##4F7AF21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7af2;
/* rgb */ color: rgb(79, 122, 242);
/* oklch */ color: oklch(61.2% 0.186 266.2);
Tailwind
colors: {
  custom: {
    50: '#919ff7',
    500: '#4f7af2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7af2;
$custom-light: #919ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7af2",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 224.172,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61204,
    "c": 0.18629,
    "h": 266.2
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#4F7AF2
secondary
#ECDCB1
accent
#A803E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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