#4C8CEB#4C8CEB

#4C8CEB is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.3% C 0.157 H 258.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4C8CEB
RGBrgb(76, 140, 235)
HSLhsl(216, 80%, 61%)
HSVhsv(216, 68%, 92%)
CMYKcmyk(67.7%, 40.4%, 0%, 7.8%)
CIE-LABlab(58.31, 9.79, -54.00)
CIE-LCHlch(58.31, 54.88, 280.28°)
OKLaboklab(64.33% -0.0321 -0.154)
OKLCHoklch(64.33% 0.157 258.2)
XYZxyz(27.3486, 26.2880, 82.2139)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8CEB #EBAB4C
analogous
#4CDBEB #4C8CEB #5B4CEB
triadic
#4C8CEB #EB4C8C #8CEB4C
tetradic
#4C8CEB #EB4CDB #EBAB4C #4CEB5B
square
#4C8CEB #EB4CDB #EBAB4C #4CEB5B
split-complementary
#4C8CEB #EB5B4C #DBEB4C
monochromatic
#1350AA #1969E1 #4C8CEB #83AFF1 #BAD3F7

Accessibility & contrast

On white

3.36
#4C8CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#4C8CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8CEB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8CEB#FFFFFF#000000##000000
##4C8CEB1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8ceb;
/* rgb */ color: rgb(76, 140, 235);
/* oklch */ color: oklch(64.3% 0.157 258.2);
Tailwind
colors: {
  custom: {
    50: '#8eadf2',
    500: '#4c8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #4c8ceb;
$custom-light: #8eadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8ceb",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 215.849,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64335,
    "c": 0.15733,
    "h": 258.2
  },
  "luminance": 0.26291
}

Semantic roles & 50–950 ramp

primary
#4C8CEB
secondary
#E7CFAB
accent
#8709DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4C8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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