#4F7BF7#4F7BF7

#4F7BF7 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.192 H 266.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4F7BF7
RGBrgb(79, 123, 247)
HSLhsl(224, 91%, 64%)
HSVhsv(224, 68%, 97%)
CMYKcmyk(68%, 50.2%, 0%, 3.1%)
CIE-LABlab(54.60, 24.75, -66.60)
CIE-LCHlch(54.60, 71.06, 290.39°)
OKLaboklab(61.75% -0.0128 -0.1913)
OKLCHoklch(61.75% 0.192 266.2)
XYZxyz(27.0901, 22.5409, 90.9008)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BF7 #F7CB4F
analogous
#4FCFF7 #4F7BF7 #774FF7
triadic
#4F7BF7 #F74F7B #7BF74F
tetradic
#4F7BF7 #F74FCF #F7CB4F #4FF777
square
#4F7BF7 #F74FCF #F7CB4F #4FF777
split-complementary
#4F7BF7 #F7774F #CFF74F
monochromatic
#093AC3 #144FF4 #4F7BF7 #8AA7FA #C4D3FC

Accessibility & contrast

On white

3.81
#4F7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4F7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BF7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BF7#FFFFFF#000000##000000
##4F7BF71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFB
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f7bf7;
/* rgb */ color: rgb(79, 123, 247);
/* oklch */ color: oklch(61.7% 0.192 266.2);
Tailwind
colors: {
  custom: {
    50: '#92a0fb',
    500: '#4f7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bf7;
$custom-light: #92a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bf7",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 224.286,
    "s": 91.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61748,
    "c": 0.1917,
    "h": 266.2
  },
  "luminance": 0.22544
}

Semantic roles & 50–950 ramp

primary
#4F7BF7
secondary
#EEDFB3
accent
#A900E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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