#4F7CF2#4F7CF2

#4F7CF2 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.184 H 265.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4F7CF2
RGBrgb(79, 124, 242)
HSLhsl(223, 86%, 63%)
HSVhsv(223, 67%, 95%)
CMYKcmyk(67.4%, 48.8%, 0%, 5.1%)
CIE-LABlab(54.54, 22.41, -63.92)
CIE-LCHlch(54.54, 67.73, 289.32°)
OKLaboklab(61.6% -0.0142 -0.1834)
OKLCHoklch(61.6% 0.184 265.6)
XYZxyz(26.4535, 22.4858, 86.9333)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CF2 #F2C54F
analogous
#4FCDF2 #4F7CF2 #744FF2
triadic
#4F7CF2 #F24F7C #7CF24F
tetradic
#4F7CF2 #F24FCD #F2C54F #4FF274
square
#4F7CF2 #F24FCD #F2C54F #4FF274
split-complementary
#4F7CF2 #F2744F #CDF24F
monochromatic
#0E3DB9 #1652EE #4F7CF2 #88A6F6 #C1D1FA

Accessibility & contrast

On white

3.82
#4F7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4F7CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CF2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CF2#FFFFFF#000000##000000
##4F7CF21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7cf2;
/* rgb */ color: rgb(79, 124, 242);
/* oklch */ color: oklch(61.6% 0.184 265.6);
Tailwind
colors: {
  custom: {
    50: '#91a1f7',
    500: '#4f7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cf2;
$custom-light: #91a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cf2",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 223.436,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61602,
    "c": 0.18391,
    "h": 265.6
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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