#4E50A3#4E50A3

#4E50A3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.131 H 279.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4E50A3
RGBrgb(78, 80, 163)
HSLhsl(239, 35%, 47%)
HSVhsv(239, 52%, 64%)
CMYKcmyk(52.1%, 50.9%, 0%, 36.1%)
CIE-LABlab(37.84, 22.99, -45.35)
CIE-LCHlch(37.84, 50.84, 296.89°)
OKLaboklab(47.32% 0.0207 -0.1293)
OKLCHoklch(47.32% 0.131 279.1)
XYZxyz(12.6194, 10.0006, 35.9086)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50A3 #A3A14E
analogous
#4E7BA3 #4E50A3 #764EA3
triadic
#4E50A3 #A34E50 #50A34E
tetradic
#4E50A3 #A34E7B #A3A14E #4EA376
square
#4E50A3 #A34E7B #A3A14E #4EA376
split-complementary
#4E50A3 #A3764E #7BA34E
monochromatic
#262750 #3A3C7A #4E50A3 #7274BC #9C9DD0

Accessibility & contrast

On white

7.00
#4E50A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E50A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50A3
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50A3#FFFFFF#000000##FFFFFF
##4E50A31.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA6
Deuteranopia (green-blind)
#1F56A1
Tritanopia (blue-blind)
#2B6272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e50a3;
/* rgb */ color: rgb(78, 80, 163);
/* oklch */ color: oklch(47.3% 0.131 279.1);
Tailwind
colors: {
  custom: {
    50: '#8681bf',
    500: '#4e50a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e50a3;
$custom-light: #8681bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50a3",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 163
  },
  "hsl": {
    "h": 238.588,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.13092,
    "h": 279.1
  },
  "luminance": 0.10001
}

Semantic roles & 50–950 ramp

primary
#4E50A3
secondary
#BCBB91
accent
#C95CCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E50A3

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

Preview Lab → · Contrast checker → · Palette generator →

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