#4E8FEC#4E8FEC

#4E8FEC is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.1% C 0.155 H 257.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4E8FEC
RGBrgb(78, 143, 236)
HSLhsl(215, 81%, 62%)
HSVhsv(215, 67%, 93%)
CMYKcmyk(66.9%, 39.4%, 0%, 7.5%)
CIE-LABlab(59.27, 8.66, -53.02)
CIE-LCHlch(59.27, 53.73, 279.27°)
OKLaboklab(65.12% -0.0333 -0.1511)
OKLCHoklch(65.12% 0.155 257.6)
XYZxyz(28.0992, 27.3179, 83.1326)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8FEC #ECAB4E
analogous
#4EDEEC #4E8FEC #5C4EEC
triadic
#4E8FEC #EC4E8F #8FEC4E
tetradic
#4E8FEC #EC4EDE #ECAB4E #4EEC5C
square
#4E8FEC #EC4EDE #ECAB4E #4EEC5C
split-complementary
#4E8FEC #EC5C4E #DEEC4E
monochromatic
#1352AD #196CE4 #4E8FEC #85B2F2 #BDD5F8

Accessibility & contrast

On white

3.25
#4E8FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#4E8FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8FEC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8FEC#FFFFFF#000000##000000
##4E8FEC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4e8fec;
/* rgb */ color: rgb(78, 143, 236);
/* oklch */ color: oklch(65.1% 0.155 257.6);
Tailwind
colors: {
  custom: {
    50: '#8faff2',
    500: '#4e8fec',
    950: '#000000',
  },
}
SCSS
$custom: #4e8fec;
$custom-light: #8faff2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8fec",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 215.316,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65118,
    "c": 0.15469,
    "h": 257.6
  },
  "luminance": 0.27321
}

Semantic roles & 50–950 ramp

primary
#4E8FEC
secondary
#E8D0AE
accent
#8609DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4E8FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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