#4E86D7#4E86D7

#4E86D7 is a mid, vivid blue. Relative luminance 0.236; OKLCH L 62.0% C 0.137 H 257.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4E86D7
RGBrgb(78, 134, 215)
HSLhsl(215, 63%, 57%)
HSVhsv(215, 64%, 84%)
CMYKcmyk(63.7%, 37.7%, 0%, 15.7%)
CIE-LABlab(55.66, 6.84, -47.04)
CIE-LCHlch(55.66, 47.54, 278.27°)
OKLaboklab(61.95% -0.0292 -0.1337)
OKLCHoklch(61.95% 0.137 257.7)
XYZxyz(23.9283, 23.5739, 67.5660)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E86D7 #D79F4E
analogous
#4ECBD7 #4E86D7 #5A4ED7
triadic
#4E86D7 #D74E86 #86D74E
tetradic
#4E86D7 #D74ECB #D79F4E #4ED75A
square
#4E86D7 #D74ECB #D79F4E #4ED75A
split-complementary
#4E86D7 #D75A4E #CBD74E
monochromatic
#1F4B8B #2B67BD #4E86D7 #80A8E2 #B2CAEE

Accessibility & contrast

On white

3.67
#4E86D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#4E86D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E86D7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E86D7#FFFFFF#000000##000000
##4E86D71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628CDA
Deuteranopia (green-blind)
#4F7FD5
Tritanopia (blue-blind)
#0098A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4e86d7;
/* rgb */ color: rgb(78, 134, 215);
/* oklch */ color: oklch(62.0% 0.137 257.7);
Tailwind
colors: {
  custom: {
    50: '#8ca8e4',
    500: '#4e86d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e86d7;
$custom-light: #8ca8e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e86d7",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 215
  },
  "hsl": {
    "h": 215.474,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.1368,
    "h": 257.7
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#4E86D7
secondary
#DCC5A5
accent
#A342E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4E86D7

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

Preview Lab → · Contrast checker → · Palette generator →

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