#4E6CD9#4E6CD9

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

Color values

HEX#4E6CD9
RGBrgb(78, 108, 217)
HSLhsl(227, 65%, 58%)
HSVhsv(227, 64%, 85%)
CMYKcmyk(64.1%, 50.2%, 0%, 14.9%)
CIE-LABlab(48.70, 23.50, -59.29)
CIE-LCHlch(48.70, 63.78, 291.62°)
OKLaboklab(56.64% -0.0034 -0.17)
OKLCHoklch(56.64% 0.17 268.9)
XYZxyz(21.0246, 17.3527, 67.8736)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CD9 #D9BB4E
analogous
#4EB2D9 #4E6CD9 #754ED9
triadic
#4E6CD9 #D94E6C #6CD94E
tetradic
#4E6CD9 #D94EB2 #D9BB4E #4ED975
square
#4E6CD9 #D94EB2 #D9BB4E #4ED975
split-complementary
#4E6CD9 #D9754E #B2D94E
monochromatic
#1F378E #294AC0 #4E6CD9 #8096E4 #B3C0EF

Accessibility & contrast

On white

4.70
#4E6CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4E6CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CD9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CD9#FFFFFF#000000##FFFFFF
##4E6CD91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E7ADD
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e6cd9;
/* rgb */ color: rgb(78, 108, 217);
/* oklch */ color: oklch(56.6% 0.170 268.9);
Tailwind
colors: {
  custom: {
    50: '#8d95e5',
    500: '#4e6cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cd9;
$custom-light: #8d95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cd9",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 227.05,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.17002,
    "h": 268.9
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

primary
#4E6CD9
secondary
#DDD1A6
accent
#C340E8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E6CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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