#4F8CEB#4F8CEB

#4F8CEB is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.5% C 0.156 H 259.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4F8CEB
RGBrgb(79, 140, 235)
HSLhsl(217, 80%, 62%)
HSVhsv(217, 66%, 92%)
CMYKcmyk(66.4%, 40.4%, 0%, 7.8%)
CIE-LABlab(58.43, 10.26, -53.81)
CIE-LCHlch(58.43, 54.77, 280.80°)
OKLaboklab(64.46% -0.0299 -0.1534)
OKLCHoklch(64.46% 0.156 259)
XYZxyz(27.5926, 26.4138, 82.2254)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CEB #EBAE4F
analogous
#4FDAEB #4F8CEB #604FEB
triadic
#4F8CEB #EB4F8C #8CEB4F
tetradic
#4F8CEB #EB4FDA #EBAE4F #4FEB60
square
#4F8CEB #EB4FDA #EBAE4F #4FEB60
split-complementary
#4F8CEB #EB604F #DAEB4F
monochromatic
#144FAC #1A68E3 #4F8CEB #86B0F1 #BDD4F7

Accessibility & contrast

On white

3.34
#4F8CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#4F8CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8CEB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8CEB#FFFFFF#000000##000000
##4F8CEB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4f8ceb;
/* rgb */ color: rgb(79, 140, 235);
/* oklch */ color: oklch(64.5% 0.156 259.0);
Tailwind
colors: {
  custom: {
    50: '#90adf2',
    500: '#4f8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #4f8ceb;
$custom-light: #90adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8ceb",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 216.538,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6446,
    "c": 0.15628,
    "h": 259
  },
  "luminance": 0.26417
}

Semantic roles & 50–950 ramp

primary
#4F8CEB
secondary
#E8D1AE
accent
#8A0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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