#4E8CF1#4E8CF1

#4E8CF1 is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.8% C 0.164 H 259.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E8CF1
RGBrgb(78, 140, 241)
HSLhsl(217, 85%, 63%)
HSVhsv(217, 68%, 95%)
CMYKcmyk(67.6%, 41.9%, 0%, 5.5%)
CIE-LABlab(58.72, 12.18, -56.67)
CIE-LCHlch(58.72, 57.96, 282.13°)
OKLaboklab(64.78% -0.0294 -0.1618)
OKLCHoklch(64.78% 0.164 259.7)
XYZxyz(28.3915, 26.7238, 86.8640)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8CF1 #F1B34E
analogous
#4EDDF1 #4E8CF1 #624EF1
triadic
#4E8CF1 #F14E8C #8CF14E
tetradic
#4E8CF1 #F14EDD #F1B34E #4EF162
square
#4E8CF1 #F14EDD #F1B34E #4EF162
split-complementary
#4E8CF1 #F1624E #DDF14E
monochromatic
#0E4EB6 #1567ED #4E8CF1 #87B1F5 #BFD6FA

Accessibility & contrast

On white

3.31
#4E8CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#4E8CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8CF1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8CF1#FFFFFF#000000##000000
##4E8CF11.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4e8cf1;
/* rgb */ color: rgb(78, 140, 241);
/* oklch */ color: oklch(64.8% 0.164 259.7);
Tailwind
colors: {
  custom: {
    50: '#90adf6',
    500: '#4e8cf1',
    950: '#000000',
  },
}
SCSS
$custom: #4e8cf1;
$custom-light: #90adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8cf1",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 217.178,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.16447,
    "h": 259.7
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#4E8CF1
secondary
#EBD4B0
accent
#8D04E2
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4E8CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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