#4F7BF4#4F7BF4

#4F7BF4 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.5% C 0.188 H 266.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F7BF4
RGBrgb(79, 123, 244)
HSLhsl(224, 88%, 63%)
HSVhsv(224, 68%, 96%)
CMYKcmyk(67.6%, 49.6%, 0%, 4.3%)
CIE-LABlab(54.40, 23.71, -65.25)
CIE-LCHlch(54.40, 69.43, 289.97°)
OKLaboklab(61.54% -0.0131 -0.1873)
OKLCHoklch(61.54% 0.188 266)
XYZxyz(26.6309, 22.3572, 88.4823)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BF4 #F4C84F
analogous
#4FCDF4 #4F7BF4 #754FF4
triadic
#4F7BF4 #F44F7B #7BF44F
tetradic
#4F7BF4 #F44FCD #F4C84F #4FF475
square
#4F7BF4 #F44FCD #F4C84F #4FF475
split-complementary
#4F7BF4 #F4754F #CDF44F
monochromatic
#0C3BBD #1550F0 #4F7BF4 #89A6F8 #C2D1FB

Accessibility & contrast

On white

3.84
#4F7BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4F7BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BF4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BF4#FFFFFF#000000##000000
##4F7BF41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358AF8
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7bf4;
/* rgb */ color: rgb(79, 123, 244);
/* oklch */ color: oklch(61.5% 0.188 266.0);
Tailwind
colors: {
  custom: {
    50: '#92a0f8',
    500: '#4f7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bf4;
$custom-light: #92a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bf4",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 224,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.18775,
    "h": 266
  },
  "luminance": 0.2236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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