#4F8DEC#4F8DEC

#4F8DEC is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.7% C 0.157 H 258.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4F8DEC
RGBrgb(79, 141, 236)
HSLhsl(216, 81%, 62%)
HSVhsv(216, 67%, 93%)
CMYKcmyk(66.5%, 40.3%, 0%, 7.5%)
CIE-LABlab(58.76, 10.01, -53.84)
CIE-LCHlch(58.76, 54.76, 280.53°)
OKLaboklab(64.73% -0.0306 -0.1535)
OKLCHoklch(64.73% 0.157 258.7)
XYZxyz(27.8842, 26.7653, 83.0373)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8DEC #ECAE4F
analogous
#4FDBEC #4F8DEC #604FEC
triadic
#4F8DEC #EC4F8D #8DEC4F
tetradic
#4F8DEC #EC4FDB #ECAE4F #4FEC60
square
#4F8DEC #EC4FDB #ECAE4F #4FEC60
split-complementary
#4F8DEC #EC604F #DBEC4F
monochromatic
#1350AE #1969E5 #4F8DEC #86B1F2 #BDD5F8

Accessibility & contrast

On white

3.31
#4F8DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#4F8DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8DEC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8DEC#FFFFFF#000000##000000
##4F8DEC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#4987EA
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4f8dec;
/* rgb */ color: rgb(79, 141, 236);
/* oklch */ color: oklch(64.7% 0.157 258.7);
Tailwind
colors: {
  custom: {
    50: '#90adf2',
    500: '#4f8dec',
    950: '#000000',
  },
}
SCSS
$custom: #4f8dec;
$custom-light: #90adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8dec",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 216.306,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64732,
    "c": 0.1565,
    "h": 258.7
  },
  "luminance": 0.26768
}

Semantic roles & 50–950 ramp

primary
#4F8DEC
secondary
#E8D2AE
accent
#8909DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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