#4F8DF2#4F8DF2

#4F8DF2 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.1% C 0.164 H 259.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4F8DF2
RGBrgb(79, 141, 242)
HSLhsl(217, 86%, 63%)
HSVhsv(217, 67%, 95%)
CMYKcmyk(67.4%, 41.7%, 0%, 5.1%)
CIE-LABlab(59.09, 12.07, -56.63)
CIE-LCHlch(59.09, 57.90, 282.04°)
OKLaboklab(65.09% -0.0294 -0.1617)
OKLCHoklch(65.09% 0.164 259.7)
XYZxyz(28.7706, 27.1199, 87.7056)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8DF2 #F2B44F
analogous
#4FDEF2 #4F8DF2 #624FF2
triadic
#4F8DF2 #F24F8D #8DF24F
tetradic
#4F8DF2 #F24FDE #F2B44F #4FF262
square
#4F8DF2 #F24FDE #F2B44F #4FF262
split-complementary
#4F8DF2 #F2624F #DEF24F
monochromatic
#0E4FB9 #1668EE #4F8DF2 #88B2F6 #C1D7FA

Accessibility & contrast

On white

3.27
#4F8DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#4F8DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8DF2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8DF2#FFFFFF#000000##000000
##4F8DF21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#4387F0
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4f8df2;
/* rgb */ color: rgb(79, 141, 242);
/* oklch */ color: oklch(65.1% 0.164 259.7);
Tailwind
colors: {
  custom: {
    50: '#91adf7',
    500: '#4f8df2',
    950: '#000000',
  },
}
SCSS
$custom: #4f8df2;
$custom-light: #91adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8df2",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 217.178,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65093,
    "c": 0.16433,
    "h": 259.7
  },
  "luminance": 0.27123
}

Semantic roles & 50–950 ramp

primary
#4F8DF2
secondary
#ECD5B1
accent
#8E03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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