#4C8AEB#4C8AEB

#4C8AEB is a light, vivid blue. Relative luminance 0.257; OKLCH L 63.9% C 0.160 H 259.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4C8AEB
RGBrgb(76, 138, 235)
HSLhsl(217, 80%, 61%)
HSVhsv(217, 68%, 92%)
CMYKcmyk(67.7%, 41.3%, 0%, 7.8%)
CIE-LABlab(57.76, 10.99, -54.88)
CIE-LCHlch(57.76, 55.97, 281.33°)
OKLaboklab(63.91% -0.0303 -0.1566)
OKLCHoklch(63.91% 0.16 259.1)
XYZxyz(27.0590, 25.7089, 82.1174)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8AEB #EBAD4C
analogous
#4CD9EB #4C8AEB #5D4CEB
triadic
#4C8AEB #EB4C8A #8AEB4C
tetradic
#4C8AEB #EB4CD9 #EBAD4C #4CEB5D
square
#4C8AEB #EB4CD9 #EBAD4C #4CEB5D
split-complementary
#4C8AEB #EB5D4C #D9EB4C
monochromatic
#134EAA #1967E1 #4C8AEB #83AEF1 #BAD2F7

Accessibility & contrast

On white

3.42
#4C8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#4C8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8AEB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8AEB#FFFFFF#000000##000000
##4C8AEB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4c8aeb;
/* rgb */ color: rgb(76, 138, 235);
/* oklch */ color: oklch(63.9% 0.160 259.1);
Tailwind
colors: {
  custom: {
    50: '#8eabf2',
    500: '#4c8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4c8aeb;
$custom-light: #8eabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8aeb",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 216.604,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63909,
    "c": 0.15951,
    "h": 259.1
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#4C8AEB
secondary
#E7D0AB
accent
#8A09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4C8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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