#4E50A5#4E50A5

#4E50A5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.134 H 279.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4E50A5
RGBrgb(78, 80, 165)
HSLhsl(239, 36%, 48%)
HSVhsv(239, 53%, 65%)
CMYKcmyk(52.7%, 51.5%, 0%, 35.3%)
CIE-LABlab(37.97, 23.65, -46.33)
CIE-LCHlch(37.97, 52.02, 297.04°)
OKLaboklab(47.46% 0.0209 -0.1322)
OKLCHoklch(47.46% 0.134 279)
XYZxyz(12.8000, 10.0729, 36.8598)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50A5 #A5A34E
analogous
#4E7BA5 #4E50A5 #784EA5
triadic
#4E50A5 #A54E50 #50A54E
tetradic
#4E50A5 #A54E7B #A5A34E #4EA578
square
#4E50A5 #A54E7B #A5A34E #4EA578
split-complementary
#4E50A5 #A5784E #7BA54E
monochromatic
#272852 #3A3C7B #4E50A5 #7375BD #9D9ED1

Accessibility & contrast

On white

6.97
#4E50A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E50A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50A5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50A5#FFFFFF#000000##FFFFFF
##4E50A51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA8
Deuteranopia (green-blind)
#1B56A3
Tritanopia (blue-blind)
#296373
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e50a5;
/* rgb */ color: rgb(78, 80, 165);
/* oklch */ color: oklch(47.5% 0.134 279.0);
Tailwind
colors: {
  custom: {
    50: '#8681c0',
    500: '#4e50a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e50a5;
$custom-light: #8681c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50a5",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 238.621,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.13381,
    "h": 279
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#4E50A5
secondary
#BDBC91
accent
#C95CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E50A5

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

Preview Lab → · Contrast checker → · Palette generator →

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