#4E50A9#4E50A9

#4E50A9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.140 H 278.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4E50A9
RGBrgb(78, 80, 169)
HSLhsl(239, 37%, 48%)
HSVhsv(239, 54%, 66%)
CMYKcmyk(53.8%, 52.7%, 0%, 33.7%)
CIE-LABlab(38.24, 24.96, -48.29)
CIE-LCHlch(38.24, 54.36, 297.33°)
OKLaboklab(47.74% 0.0212 -0.1379)
OKLCHoklch(47.74% 0.14 278.7)
XYZxyz(13.1697, 10.2208, 38.8073)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50A9 #A9A74E
analogous
#4E7DA9 #4E50A9 #794EA9
triadic
#4E50A9 #A94E50 #50A94E
tetradic
#4E50A9 #A94E7D #A9A74E #4EA979
square
#4E50A9 #A94E7D #A9A74E #4EA979
split-complementary
#4E50A9 #A9794E #7DA94E
monochromatic
#272855 #3B3C7F #4E50A9 #7577BF #9FA0D3

Accessibility & contrast

On white

6.90
#4E50A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E50A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50A9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50A9#FFFFFF#000000##FFFFFF
##4E50A91.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAC
Deuteranopia (green-blind)
#1356A7
Tritanopia (blue-blind)
#256475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e50a9;
/* rgb */ color: rgb(78, 80, 169);
/* oklch */ color: oklch(47.7% 0.140 278.7);
Tailwind
colors: {
  custom: {
    50: '#8781c3',
    500: '#4e50a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e50a9;
$custom-light: #8781c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50a9",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 169
  },
  "hsl": {
    "h": 238.681,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.13956,
    "h": 278.7
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#4E50A9
secondary
#BFBF93
accent
#CA5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E50A9

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

Preview Lab → · Contrast checker → · Palette generator →

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