#4E5DAD#4E5DAD

#4E5DAD is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.127 H 273.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4E5DAD
RGBrgb(78, 93, 173)
HSLhsl(231, 38%, 49%)
HSVhsv(231, 55%, 68%)
CMYKcmyk(54.9%, 46.2%, 0%, 32.2%)
CIE-LABlab(41.95, 17.99, -44.71)
CIE-LCHlch(41.95, 48.20, 291.92°)
OKLaboklab(50.63% 0.0068 -0.1273)
OKLCHoklch(50.63% 0.127 273)
XYZxyz(14.5966, 12.4645, 41.1638)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DAD #AD9E4E
analogous
#4E8DAD #4E5DAD #6F4EAD
triadic
#4E5DAD #AD4E5D #5DAD4E
tetradic
#4E5DAD #AD4E8D #AD9E4E #4EAD6F
square
#4E5DAD #AD4E8D #AD9E4E #4EAD6F
split-complementary
#4E5DAD #AD6F4E #8DAD4E
monochromatic
#283059 #3B4683 #4E5DAD #7782C2 #A1A9D5

Accessibility & contrast

On white

6.01
#4E5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4E5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DAD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DAD#FFFFFF#000000##FFFFFF
##4E5DAD1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#1D6F7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5dad;
/* rgb */ color: rgb(78, 93, 173);
/* oklch */ color: oklch(50.6% 0.127 273.0);
Tailwind
colors: {
  custom: {
    50: '#878ac6',
    500: '#4e5dad',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dad;
$custom-light: #878ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dad",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 230.526,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.12747,
    "h": 273
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#4E5DAD
secondary
#C2BB95
accent
#BC5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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