#4E6CDA#4E6CDA

#4E6CDA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.171 H 268.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E6CDA
RGBrgb(78, 108, 218)
HSLhsl(227, 65%, 58%)
HSVhsv(227, 64%, 85%)
CMYKcmyk(64.2%, 50.5%, 0%, 14.5%)
CIE-LABlab(48.77, 23.85, -59.76)
CIE-LCHlch(48.77, 64.34, 291.76°)
OKLaboklab(56.71% -0.0033 -0.1713)
OKLCHoklch(56.71% 0.171 268.9)
XYZxyz(21.1550, 17.4049, 68.5607)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CDA #DABC4E
analogous
#4EB2DA #4E6CDA #764EDA
triadic
#4E6CDA #DA4E6C #6CDA4E
tetradic
#4E6CDA #DA4EB2 #DABC4E #4EDA76
square
#4E6CDA #DA4EB2 #DABC4E #4EDA76
split-complementary
#4E6CDA #DA764E #B2DA4E
monochromatic
#1E3690 #294AC2 #4E6CDA #8196E5 #B3C0EF

Accessibility & contrast

On white

4.69
#4E6CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4E6CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CDA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CDA#FFFFFF#000000##FFFFFF
##4E6CDA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e6cda;
/* rgb */ color: rgb(78, 108, 218);
/* oklch */ color: oklch(56.7% 0.171 268.9);
Tailwind
colors: {
  custom: {
    50: '#8d95e6',
    500: '#4e6cda',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cda;
$custom-light: #8d95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cda",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 227.143,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.17138,
    "h": 268.9
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#4E6CDA
secondary
#DED2A6
accent
#C43FE8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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