#4C8CE8#4C8CE8

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

Color values

HEX#4C8CE8
RGBrgb(76, 140, 232)
HSLhsl(215, 77%, 60%)
HSVhsv(215, 67%, 91%)
CMYKcmyk(67.2%, 39.7%, 0%, 9%)
CIE-LABlab(58.15, 8.75, -52.59)
CIE-LCHlch(58.15, 53.32, 279.45°)
OKLaboklab(64.16% -0.0328 -0.1499)
OKLCHoklch(64.16% 0.153 257.7)
XYZxyz(26.9188, 26.1161, 79.9506)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8CE8 #E8A84C
analogous
#4CDAE8 #4C8CE8 #5A4CE8
triadic
#4C8CE8 #E84C8C #8CE84C
tetradic
#4C8CE8 #E84CDA #E8A84C #4CE85A
square
#4C8CE8 #E84CDA #E8A84C #4CE85A
split-complementary
#4C8CE8 #E85A4C #DAE84C
monochromatic
#1550A4 #1C6ADB #4C8CE8 #82AFEF #B8D2F6

Accessibility & contrast

On white

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

On black

6.22
#4C8CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8CE8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8CE8#FFFFFF#000000##000000
##4C8CE81.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6294EC
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4c8ce8;
/* rgb */ color: rgb(76, 140, 232);
/* oklch */ color: oklch(64.2% 0.153 257.7);
Tailwind
colors: {
  custom: {
    50: '#8eadf0',
    500: '#4c8ce8',
    950: '#000000',
  },
}
SCSS
$custom: #4c8ce8;
$custom-light: #8eadf0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8ce8",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 215.385,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.15342,
    "h": 257.7
  },
  "luminance": 0.26119
}

Semantic roles & 50–950 ramp

primary
#4C8CE8
secondary
#E6CDAA
accent
#850CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #4C8CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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