#4E6CD6#4E6CD6

#4E6CD6 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.166 H 268.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E6CD6
RGBrgb(78, 108, 214)
HSLhsl(227, 62%, 57%)
HSVhsv(227, 64%, 84%)
CMYKcmyk(63.6%, 49.5%, 0%, 16.1%)
CIE-LABlab(48.51, 22.47, -57.90)
CIE-LCHlch(48.51, 62.11, 291.21°)
OKLaboklab(56.44% -0.0037 -0.1659)
OKLCHoklch(56.44% 0.166 268.7)
XYZxyz(20.6379, 17.1980, 65.8372)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CD6 #D6B84E
analogous
#4EB0D6 #4E6CD6 #744ED6
triadic
#4E6CD6 #D64E6C #6CD64E
tetradic
#4E6CD6 #D64EB0 #D6B84E #4ED674
square
#4E6CD6 #D64EB0 #D6B84E #4ED674
split-complementary
#4E6CD6 #D6744E #B0D64E
monochromatic
#20378A #2B4BBB #4E6CD6 #8095E2 #B1BFED

Accessibility & contrast

On white

4.73
#4E6CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4E6CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CD6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CD6#FFFFFF#000000##FFFFFF
##4E6CD61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327ADA
Deuteranopia (green-blind)
#0C6DD4
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6cd6;
/* rgb */ color: rgb(78, 108, 214);
/* oklch */ color: oklch(56.4% 0.166 268.7);
Tailwind
colors: {
  custom: {
    50: '#8d95e3',
    500: '#4e6cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cd6;
$custom-light: #8d95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cd6",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 226.765,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.16593,
    "h": 268.7
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#4E6CD6
secondary
#DBCFA4
accent
#C142E5
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4E6CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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