#4E50A6#4E50A6

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

Color values

HEX#4E50A6
RGBrgb(78, 80, 166)
HSLhsl(239, 36%, 48%)
HSVhsv(239, 53%, 65%)
CMYKcmyk(53%, 51.8%, 0%, 34.9%)
CIE-LABlab(38.04, 23.97, -46.82)
CIE-LCHlch(38.04, 52.60, 297.11°)
OKLaboklab(47.53% 0.021 -0.1336)
OKLCHoklch(47.53% 0.135 278.9)
XYZxyz(12.8913, 10.1094, 37.3410)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50A6 #A6A44E
analogous
#4E7CA6 #4E50A6 #784EA6
triadic
#4E50A6 #A64E50 #50A64E
tetradic
#4E50A6 #A64E7C #A6A44E #4EA678
square
#4E50A6 #A64E7C #A6A44E #4EA678
split-complementary
#4E50A6 #A6784E #7CA64E
monochromatic
#272853 #3A3C7C #4E50A6 #7475BE #9D9ED1

Accessibility & contrast

On white

6.95
#4E50A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E50A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50A6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50A6#FFFFFF#000000##FFFFFF
##4E50A61.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA9
Deuteranopia (green-blind)
#1A56A4
Tritanopia (blue-blind)
#286373
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e50a6;
/* rgb */ color: rgb(78, 80, 166);
/* oklch */ color: oklch(47.5% 0.135 278.9);
Tailwind
colors: {
  custom: {
    50: '#8681c1',
    500: '#4e50a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e50a6;
$custom-light: #8681c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50a6",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 166
  },
  "hsl": {
    "h": 238.636,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.13526,
    "h": 278.9
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#4E50A6
secondary
#BEBD92
accent
#CA5CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E50A6

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

Preview Lab → · Contrast checker → · Palette generator →

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