#4F7CF4#4F7CF4

#4F7CF4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.187 H 265.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F7CF4
RGBrgb(79, 124, 244)
HSLhsl(224, 88%, 63%)
HSVhsv(224, 68%, 96%)
CMYKcmyk(67.6%, 49.2%, 0%, 4.3%)
CIE-LABlab(54.66, 23.10, -64.83)
CIE-LCHlch(54.66, 68.82, 289.61°)
OKLaboklab(61.74% -0.0139 -0.186)
OKLCHoklch(61.74% 0.187 265.7)
XYZxyz(26.7555, 22.6066, 88.5239)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CF4 #F4C74F
analogous
#4FCFF4 #4F7CF4 #744FF4
triadic
#4F7CF4 #F44F7C #7CF44F
tetradic
#4F7CF4 #F44FCF #F4C74F #4FF474
square
#4F7CF4 #F44FCF #F4C74F #4FF474
split-complementary
#4F7CF4 #F4744F #CFF44F
monochromatic
#0C3CBD #1551F0 #4F7CF4 #89A7F8 #C2D2FB

Accessibility & contrast

On white

3.80
#4F7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4F7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CF4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CF4#FFFFFF#000000##000000
##4F7CF41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF8
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f7cf4;
/* rgb */ color: rgb(79, 124, 244);
/* oklch */ color: oklch(61.7% 0.187 265.7);
Tailwind
colors: {
  custom: {
    50: '#92a1f8',
    500: '#4f7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cf4;
$custom-light: #92a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cf4",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 223.636,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.18655,
    "h": 265.7
  },
  "luminance": 0.22609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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