#4E5DAA#4E5DAA

#4E5DAA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.123 H 272.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4E5DAA
RGBrgb(78, 93, 170)
HSLhsl(230, 37%, 49%)
HSVhsv(230, 54%, 67%)
CMYKcmyk(54.1%, 45.3%, 0%, 33.3%)
CIE-LABlab(41.77, 17.00, -43.23)
CIE-LCHlch(41.77, 46.45, 291.47°)
OKLaboklab(50.43% 0.0063 -0.1229)
OKLCHoklch(50.43% 0.123 272.9)
XYZxyz(14.3096, 12.3497, 39.6521)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DAA #AA9B4E
analogous
#4E8BAA #4E5DAA #6D4EAA
triadic
#4E5DAA #AA4E5D #5DAA4E
tetradic
#4E5DAA #AA4E8B #AA9B4E #4EAA6D
square
#4E5DAA #AA4E8B #AA9B4E #4EAA6D
split-complementary
#4E5DAA #AA6D4E #8BAA4E
monochromatic
#282F56 #3B4680 #4E5DAA #7581C0 #9FA8D3

Accessibility & contrast

On white

6.05
#4E5DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E5DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DAA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DAA#FFFFFF#000000##FFFFFF
##4E5DAA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#315FA8
Tritanopia (blue-blind)
#216E7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5daa;
/* rgb */ color: rgb(78, 93, 170);
/* oklch */ color: oklch(50.4% 0.123 272.9);
Tailwind
colors: {
  custom: {
    50: '#868ac4',
    500: '#4e5daa',
    950: '#000000',
  },
}
SCSS
$custom: #4e5daa;
$custom-light: #868ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5daa",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 170
  },
  "hsl": {
    "h": 230.217,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.12309,
    "h": 272.9
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#4E5DAA
secondary
#C0B994
accent
#BA5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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