#4F8BEB#4F8BEB

#4F8BEB is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.2% C 0.157 H 259.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4F8BEB
RGBrgb(79, 139, 235)
HSLhsl(217, 80%, 62%)
HSVhsv(217, 66%, 92%)
CMYKcmyk(66.4%, 40.9%, 0%, 7.8%)
CIE-LABlab(58.15, 10.86, -54.24)
CIE-LCHlch(58.15, 55.32, 281.32°)
OKLaboklab(64.25% -0.0289 -0.1547)
OKLCHoklch(64.25% 0.157 259.4)
XYZxyz(27.4471, 26.1229, 82.1769)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8BEB #EBAF4F
analogous
#4FD9EB #4F8BEB #614FEB
triadic
#4F8BEB #EB4F8B #8BEB4F
tetradic
#4F8BEB #EB4FD9 #EBAF4F #4FEB61
square
#4F8BEB #EB4FD9 #EBAF4F #4FEB61
split-complementary
#4F8BEB #EB614F #D9EB4F
monochromatic
#144EAC #1A67E3 #4F8BEB #86AFF1 #BDD3F7

Accessibility & contrast

On white

3.37
#4F8BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#4F8BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8BEB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8BEB#FFFFFF#000000##000000
##4F8BEB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4f8beb;
/* rgb */ color: rgb(79, 139, 235);
/* oklch */ color: oklch(64.2% 0.157 259.4);
Tailwind
colors: {
  custom: {
    50: '#90acf2',
    500: '#4f8beb',
    950: '#000000',
  },
}
SCSS
$custom: #4f8beb;
$custom-light: #90acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8beb",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 216.923,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.15737,
    "h": 259.4
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

primary
#4F8BEB
secondary
#E8D2AE
accent
#8B0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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