#4F8BF2#4F8BF2

#4F8BF2 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.167 H 260.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4F8BF2
RGBrgb(79, 139, 242)
HSLhsl(218, 86%, 63%)
HSVhsv(218, 67%, 95%)
CMYKcmyk(67.4%, 42.6%, 0%, 5.1%)
CIE-LABlab(58.54, 13.28, -57.50)
CIE-LCHlch(58.54, 59.01, 283.00°)
OKLaboklab(64.67% -0.0276 -0.1642)
OKLCHoklch(64.67% 0.167 260.5)
XYZxyz(28.4784, 26.5354, 87.6082)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8BF2 #F2B64F
analogous
#4FDCF2 #4F8BF2 #644FF2
triadic
#4F8BF2 #F24F8B #8BF24F
tetradic
#4F8BF2 #F24FDC #F2B64F #4FF264
square
#4F8BF2 #F24FDC #F2B64F #4FF264
split-complementary
#4F8BF2 #F2644F #DCF24F
monochromatic
#0E4DB9 #1665EE #4F8BF2 #88B1F6 #C1D6FA

Accessibility & contrast

On white

3.33
#4F8BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#4F8BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8BF2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8BF2#FFFFFF#000000##000000
##4F8BF21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#3E86F0
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4f8bf2;
/* rgb */ color: rgb(79, 139, 242);
/* oklch */ color: oklch(64.7% 0.167 260.5);
Tailwind
colors: {
  custom: {
    50: '#91acf7',
    500: '#4f8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #4f8bf2;
$custom-light: #91acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8bf2",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 217.914,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.16655,
    "h": 260.5
  },
  "luminance": 0.26538
}

Semantic roles & 50–950 ramp

primary
#4F8BF2
secondary
#ECD6B1
accent
#9003E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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