#4E8CEC#4E8CEC

#4E8CEC is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.5% C 0.158 H 258.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4E8CEC
RGBrgb(78, 140, 236)
HSLhsl(216, 81%, 62%)
HSVhsv(216, 67%, 93%)
CMYKcmyk(66.9%, 40.7%, 0%, 7.5%)
CIE-LABlab(58.44, 10.45, -54.34)
CIE-LCHlch(58.44, 55.33, 280.88°)
OKLaboklab(64.48% -0.0304 -0.155)
OKLCHoklch(64.48% 0.158 258.9)
XYZxyz(27.6549, 26.4292, 82.9845)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8CEC #ECAE4E
analogous
#4EDBEC #4E8CEC #5F4EEC
triadic
#4E8CEC #EC4E8C #8CEC4E
tetradic
#4E8CEC #EC4EDB #ECAE4E #4EEC5F
square
#4E8CEC #EC4EDB #ECAE4E #4EEC5F
split-complementary
#4E8CEC #EC5F4E #DBEC4E
monochromatic
#134FAD #1968E4 #4E8CEC #85B0F2 #BDD4F8

Accessibility & contrast

On white

3.34
#4E8CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#4E8CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8CEC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8CEC#FFFFFF#000000##000000
##4E8CEC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094F0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4e8cec;
/* rgb */ color: rgb(78, 140, 236);
/* oklch */ color: oklch(64.5% 0.158 258.9);
Tailwind
colors: {
  custom: {
    50: '#8fadf2',
    500: '#4e8cec',
    950: '#000000',
  },
}
SCSS
$custom: #4e8cec;
$custom-light: #8fadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8cec",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 216.456,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64478,
    "c": 0.15793,
    "h": 258.9
  },
  "luminance": 0.26432
}

Semantic roles & 50–950 ramp

primary
#4E8CEC
secondary
#E8D1AE
accent
#8A09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4E8CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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