#4F8CF2#4F8CF2

#4F8CF2 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.9% C 0.165 H 260.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4F8CF2
RGBrgb(79, 140, 242)
HSLhsl(218, 86%, 63%)
HSVhsv(218, 67%, 95%)
CMYKcmyk(67.4%, 42.1%, 0%, 5.1%)
CIE-LABlab(58.81, 12.67, -57.07)
CIE-LCHlch(58.81, 58.46, 282.52°)
OKLaboklab(64.88% -0.0285 -0.163)
OKLCHoklch(64.88% 0.165 260.1)
XYZxyz(28.6238, 26.8263, 87.6567)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CF2 #F2B54F
analogous
#4FDDF2 #4F8CF2 #634FF2
triadic
#4F8CF2 #F24F8C #8CF24F
tetradic
#4F8CF2 #F24FDD #F2B54F #4FF263
square
#4F8CF2 #F24FDD #F2B54F #4FF263
split-complementary
#4F8CF2 #F2634F #DDF24F
monochromatic
#0E4EB9 #1667EE #4F8CF2 #88B1F6 #C1D6FA

Accessibility & contrast

On white

3.30
#4F8CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#4F8CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8CF2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8CF2#FFFFFF#000000##000000
##4F8CF21.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#4087F0
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4f8cf2;
/* rgb */ color: rgb(79, 140, 242);
/* oklch */ color: oklch(64.9% 0.165 260.1);
Tailwind
colors: {
  custom: {
    50: '#91adf7',
    500: '#4f8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #4f8cf2;
$custom-light: #91adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8cf2",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 217.546,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.16544,
    "h": 260.1
  },
  "luminance": 0.26829
}

Semantic roles & 50–950 ramp

primary
#4F8CF2
secondary
#ECD6B1
accent
#8F03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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