#4E50AF#4E50AF

#4E50AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.148 H 278.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4E50AF
RGBrgb(78, 80, 175)
HSLhsl(239, 38%, 50%)
HSVhsv(239, 55%, 69%)
CMYKcmyk(55.4%, 54.3%, 0%, 31.4%)
CIE-LABlab(38.64, 26.93, -51.20)
CIE-LCHlch(38.64, 57.85, 297.75°)
OKLaboklab(48.17% 0.0216 -0.1465)
OKLCHoklch(48.17% 0.148 278.4)
XYZxyz(13.7460, 10.4513, 41.8421)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50AF #AFAD4E
analogous
#4E81AF #4E50AF #7D4EAF
triadic
#4E50AF #AF4E50 #50AF4E
tetradic
#4E50AF #AF4E81 #AFAD4E #4EAF7D
square
#4E50AF #AF4E81 #AFAD4E #4EAF7D
split-complementary
#4E50AF #AF7D4E #81AF4E
monochromatic
#28295A #3B3D85 #4E50AF #7879C3 #A2A3D6

Accessibility & contrast

On white

6.80
#4E50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50AF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50AF#FFFFFF#000000##FFFFFF
##4E50AF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#1E6677
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e50af;
/* rgb */ color: rgb(78, 80, 175);
/* oklch */ color: oklch(48.2% 0.148 278.4);
Tailwind
colors: {
  custom: {
    50: '#8881c7',
    500: '#4e50af',
    950: '#000000',
  },
}
SCSS
$custom: #4e50af;
$custom-light: #8881c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50af",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 238.763,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48173,
    "c": 0.14807,
    "h": 278.4
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#4E50AF
secondary
#C3C296
accent
#CC5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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