#4E8BF1#4E8BF1

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

Color values

HEX#4E8BF1
RGBrgb(78, 139, 241)
HSLhsl(218, 85%, 63%)
HSVhsv(218, 68%, 95%)
CMYKcmyk(67.6%, 42.3%, 0%, 5.5%)
CIE-LABlab(58.45, 12.78, -57.10)
CIE-LCHlch(58.45, 58.51, 282.61°)
OKLaboklab(64.57% -0.0285 -0.1631)
OKLCHoklch(64.57% 0.166 260.1)
XYZxyz(28.2460, 26.4329, 86.8155)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8BF1 #F1B44E
analogous
#4EDCF1 #4E8BF1 #634EF1
triadic
#4E8BF1 #F14E8B #8BF14E
tetradic
#4E8BF1 #F14EDC #F1B44E #4EF163
square
#4E8BF1 #F14EDC #F1B44E #4EF163
split-complementary
#4E8BF1 #F1634E #DCF14E
monochromatic
#0E4DB6 #1566ED #4E8BF1 #87B0F5 #BFD5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8BF1#FFFFFF#000000##000000
##4E8BF11.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)
#5A95F5
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4e8bf1;
/* rgb */ color: rgb(78, 139, 241);
/* oklch */ color: oklch(64.6% 0.166 260.1);
Tailwind
colors: {
  custom: {
    50: '#90acf6',
    500: '#4e8bf1',
    950: '#000000',
  },
}
SCSS
$custom: #4e8bf1;
$custom-light: #90acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8bf1",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 217.546,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6457,
    "c": 0.16558,
    "h": 260.1
  },
  "luminance": 0.26436
}

Semantic roles & 50–950 ramp

primary
#4E8BF1
secondary
#EBD5B0
accent
#8F04E2
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4E8BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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