#4C8CEC#4C8CEC

#4C8CEC is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.4% C 0.159 H 258.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4C8CEC
RGBrgb(76, 140, 236)
HSLhsl(216, 81%, 61%)
HSVhsv(216, 68%, 93%)
CMYKcmyk(67.8%, 40.7%, 0%, 7.5%)
CIE-LABlab(58.36, 10.14, -54.47)
CIE-LCHlch(58.36, 55.40, 280.55°)
OKLaboklab(64.4% -0.0319 -0.1554)
OKLCHoklch(64.4% 0.159 258.4)
XYZxyz(27.4934, 26.3460, 82.9770)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8CEC #ECAC4C
analogous
#4CDCEC #4C8CEC #5C4CEC
triadic
#4C8CEC #EC4C8C #8CEC4C
tetradic
#4C8CEC #EC4CDC #ECAC4C #4CEC5C
square
#4C8CEC #EC4CDC #ECAC4C #4CEC5C
split-complementary
#4C8CEC #EC5C4C #DCEC4C
monochromatic
#124FAB #1869E3 #4C8CEC #83B0F2 #BBD3F8

Accessibility & contrast

On white

3.35
#4C8CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#4C8CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8CEC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8CEC#FFFFFF#000000##000000
##4C8CEC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4c8cec;
/* rgb */ color: rgb(76, 140, 236);
/* oklch */ color: oklch(64.4% 0.159 258.4);
Tailwind
colors: {
  custom: {
    50: '#8fadf3',
    500: '#4c8cec',
    950: '#000000',
  },
}
SCSS
$custom: #4c8cec;
$custom-light: #8fadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8cec",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 216,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64395,
    "c": 0.15863,
    "h": 258.4
  },
  "luminance": 0.26349
}

Semantic roles & 50–950 ramp

primary
#4C8CEC
secondary
#E8D0AC
accent
#8808DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4C8CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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