#4E5CD9#4E5CD9

#4E5CD9 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.190 H 273.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4E5CD9
RGBrgb(78, 92, 217)
HSLhsl(234, 65%, 58%)
HSVhsv(234, 64%, 85%)
CMYKcmyk(64.1%, 57.6%, 0%, 14.9%)
CIE-LABlab(44.63, 33.48, -65.87)
CIE-LCHlch(44.63, 73.90, 296.94°)
OKLaboklab(53.59% 0.011 -0.1895)
OKLCHoklch(53.59% 0.19 273.3)
XYZxyz(19.4893, 14.2821, 67.3618)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CD9 #D9CB4E
analogous
#4EA1D9 #4E5CD9 #864ED9
triadic
#4E5CD9 #D94E5C #5CD94E
tetradic
#4E5CD9 #D94EA1 #D9CB4E #4ED986
square
#4E5CD9 #D94EA1 #D9CB4E #4ED986
split-complementary
#4E5CD9 #D9864E #A1D94E
monochromatic
#1F2A8E #2939C0 #4E5CD9 #808AE4 #B3B9EF

Accessibility & contrast

On white

5.44
#4E5CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E5CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CD9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CD9#FFFFFF#000000##FFFFFF
##4E5CD91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5cd9;
/* rgb */ color: rgb(78, 92, 217);
/* oklch */ color: oklch(53.6% 0.190 273.3);
Tailwind
colors: {
  custom: {
    50: '#8e8ae6',
    500: '#4e5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cd9;
$custom-light: #8e8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cd9",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 233.957,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.18987,
    "h": 273.3
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#4E5CD9
secondary
#DDD8A6
accent
#D740E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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