#4E50A2#4E50A2

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

Color values

HEX#4E50A2
RGBrgb(78, 80, 162)
HSLhsl(239, 35%, 47%)
HSVhsv(239, 52%, 64%)
CMYKcmyk(51.9%, 50.6%, 0%, 36.5%)
CIE-LABlab(37.78, 22.67, -44.85)
CIE-LCHlch(37.78, 50.25, 296.81°)
OKLaboklab(47.25% 0.0206 -0.1278)
OKLCHoklch(47.25% 0.129 279.2)
XYZxyz(12.5301, 9.9649, 35.4386)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50A2 #A2A04E
analogous
#4E7AA2 #4E50A2 #764EA2
triadic
#4E50A2 #A24E50 #50A24E
tetradic
#4E50A2 #A24E7A #A2A04E #4EA276
square
#4E50A2 #A24E7A #A2A04E #4EA276
split-complementary
#4E50A2 #A2764E #7AA24E
monochromatic
#26274F #3A3C79 #4E50A2 #7274BB #9B9DCF

Accessibility & contrast

On white

7.02
#4E50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E50A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E50A2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50A2#FFFFFF#000000##FFFFFF
##4E50A21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#2056A0
Tritanopia (blue-blind)
#2C6271
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e50a2;
/* rgb */ color: rgb(78, 80, 162);
/* oklch */ color: oklch(47.3% 0.129 279.2);
Tailwind
colors: {
  custom: {
    50: '#8681be',
    500: '#4e50a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e50a2;
$custom-light: #8681be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50a2",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 238.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.12947,
    "h": 279.2
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#4E50A2
secondary
#BCBB90
accent
#C85DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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