#4E6CD5#4E6CD5

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

Color values

HEX#4E6CD5
RGBrgb(78, 108, 213)
HSLhsl(227, 62%, 57%)
HSVhsv(227, 63%, 84%)
CMYKcmyk(63.4%, 49.3%, 0%, 16.5%)
CIE-LABlab(48.44, 22.13, -57.43)
CIE-LCHlch(48.44, 61.55, 291.07°)
OKLaboklab(56.37% -0.0038 -0.1645)
OKLCHoklch(56.37% 0.165 268.7)
XYZxyz(20.5106, 17.1471, 65.1667)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CD5 #D5B74E
analogous
#4EAFD5 #4E6CD5 #744ED5
triadic
#4E6CD5 #D54E6C #6CD54E
tetradic
#4E6CD5 #D54EAF #D5B74E #4ED574
square
#4E6CD5 #D54EAF #D5B74E #4ED574
split-complementary
#4E6CD5 #D5744E #AFD54E
monochromatic
#203788 #2C4CBA #4E6CD5 #7F95E1 #B1BEEC

Accessibility & contrast

On white

4.74
#4E6CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4E6CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CD5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CD5#FFFFFF#000000##FFFFFF
##4E6CD51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3379D9
Deuteranopia (green-blind)
#106DD3
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6cd5;
/* rgb */ color: rgb(78, 108, 213);
/* oklch */ color: oklch(56.4% 0.165 268.7);
Tailwind
colors: {
  custom: {
    50: '#8c95e2',
    500: '#4e6cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cd5;
$custom-light: #8c95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cd5",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 226.667,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.16456,
    "h": 268.7
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#4E6CD5
secondary
#DBCFA4
accent
#C143E5
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E6CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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