#4F8FEC#4F8FEC

#4F8FEC is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.2% C 0.154 H 257.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4F8FEC
RGBrgb(79, 143, 236)
HSLhsl(216, 81%, 62%)
HSVhsv(216, 67%, 93%)
CMYKcmyk(66.5%, 39.4%, 0%, 7.5%)
CIE-LABlab(59.31, 8.81, -52.96)
CIE-LCHlch(59.31, 53.69, 279.45°)
OKLaboklab(65.16% -0.0325 -0.1509)
OKLCHoklch(65.16% 0.154 257.8)
XYZxyz(28.1818, 27.3605, 83.1365)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8FEC #ECAC4F
analogous
#4FDEEC #4F8FEC #5E4FEC
triadic
#4F8FEC #EC4F8F #8FEC4F
tetradic
#4F8FEC #EC4FDE #ECAC4F #4FEC5E
square
#4F8FEC #EC4FDE #ECAC4F #4FEC5E
split-complementary
#4F8FEC #EC5E4F #DEEC4F
monochromatic
#1352AE #196CE5 #4F8FEC #86B2F2 #BDD5F8

Accessibility & contrast

On white

3.24
#4F8FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#4F8FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8FEC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8FEC#FFFFFF#000000##000000
##4F8FEC1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#4D88EA
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4f8fec;
/* rgb */ color: rgb(79, 143, 236);
/* oklch */ color: oklch(65.2% 0.154 257.8);
Tailwind
colors: {
  custom: {
    50: '#90aff2',
    500: '#4f8fec',
    950: '#000000',
  },
}
SCSS
$custom: #4f8fec;
$custom-light: #90aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8fec",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 215.541,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.15434,
    "h": 257.8
  },
  "luminance": 0.27363
}

Semantic roles & 50–950 ramp

primary
#4F8FEC
secondary
#E8D1AE
accent
#8609DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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