#4C8EEB#4C8EEB

#4C8EEB is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.8% C 0.155 H 257.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4C8EEB
RGBrgb(76, 142, 235)
HSLhsl(215, 80%, 61%)
HSVhsv(215, 68%, 92%)
CMYKcmyk(67.7%, 39.6%, 0%, 7.8%)
CIE-LABlab(58.86, 8.60, -53.12)
CIE-LCHlch(58.86, 53.81, 279.19°)
OKLaboklab(64.76% -0.034 -0.1514)
OKLCHoklch(64.76% 0.155 257.3)
XYZxyz(27.6435, 26.8778, 82.3122)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8EEB #EBA94C
analogous
#4CDEEB #4C8EEB #594CEB
triadic
#4C8EEB #EB4C8E #8EEB4C
tetradic
#4C8EEB #EB4CDE #EBA94C #4CEB59
square
#4C8EEB #EB4CDE #EBA94C #4CEB59
split-complementary
#4C8EEB #EB594C #DEEB4C
monochromatic
#1352AA #196CE1 #4C8EEB #83B1F1 #BAD4F7

Accessibility & contrast

On white

3.29
#4C8EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#4C8EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8EEB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8EEB#FFFFFF#000000##000000
##4C8EEB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4c8eeb;
/* rgb */ color: rgb(76, 142, 235);
/* oklch */ color: oklch(64.8% 0.155 257.3);
Tailwind
colors: {
  custom: {
    50: '#8eaef2',
    500: '#4c8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #4c8eeb;
$custom-light: #8eaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8eeb",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 215.094,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64764,
    "c": 0.15517,
    "h": 257.3
  },
  "luminance": 0.26881
}

Semantic roles & 50–950 ramp

primary
#4C8EEB
secondary
#E7CEAB
accent
#8509DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4C8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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