#4E6CD4#4E6CD4

#4E6CD4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.163 H 268.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E6CD4
RGBrgb(78, 108, 212)
HSLhsl(227, 61%, 57%)
HSVhsv(227, 63%, 83%)
CMYKcmyk(63.2%, 49.1%, 0%, 16.9%)
CIE-LABlab(48.38, 21.78, -56.97)
CIE-LCHlch(48.38, 60.99, 290.92°)
OKLaboklab(56.3% -0.0039 -0.1631)
OKLCHoklch(56.3% 0.163 268.6)
XYZxyz(20.3841, 17.0965, 64.5003)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CD4 #D4B64E
analogous
#4EAFD4 #4E6CD4 #734ED4
triadic
#4E6CD4 #D44E6C #6CD44E
tetradic
#4E6CD4 #D44EAF #D4B64E #4ED473
square
#4E6CD4 #D44EAF #D4B64E #4ED473
split-complementary
#4E6CD4 #D4734E #AFD44E
monochromatic
#213887 #2D4CB8 #4E6CD4 #7F95E0 #B0BEEC

Accessibility & contrast

On white

4.75
#4E6CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E6CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CD4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CD4#FFFFFF#000000##FFFFFF
##4E6CD41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3479D8
Deuteranopia (green-blind)
#146DD2
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6cd4;
/* rgb */ color: rgb(78, 108, 212);
/* oklch */ color: oklch(56.3% 0.163 268.6);
Tailwind
colors: {
  custom: {
    50: '#8c95e2',
    500: '#4e6cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cd4;
$custom-light: #8c95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cd4",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 226.567,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.1632,
    "h": 268.6
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#4E6CD4
secondary
#DACEA4
accent
#C044E4
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E6CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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