#4E50A8#4E50A8

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

Color values

HEX#4E50A8
RGBrgb(78, 80, 168)
HSLhsl(239, 37%, 48%)
HSVhsv(239, 54%, 66%)
CMYKcmyk(53.6%, 52.4%, 0%, 34.1%)
CIE-LABlab(38.17, 24.63, -47.80)
CIE-LCHlch(38.17, 53.77, 297.26°)
OKLaboklab(47.67% 0.0211 -0.1365)
OKLCHoklch(47.67% 0.138 278.8)
XYZxyz(13.0762, 10.1834, 38.3147)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50A8 #A8A64E
analogous
#4E7DA8 #4E50A8 #794EA8
triadic
#4E50A8 #A84E50 #50A84E
tetradic
#4E50A8 #A84E7D #A8A64E #4EA879
square
#4E50A8 #A84E7D #A8A64E #4EA879
split-complementary
#4E50A8 #A8794E #7DA84E
monochromatic
#272854 #3B3C7E #4E50A8 #7576BF #9E9FD2

Accessibility & contrast

On white

6.92
#4E50A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E50A8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50A8#FFFFFF#000000##FFFFFF
##4E50A81.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAB
Deuteranopia (green-blind)
#1656A6
Tritanopia (blue-blind)
#266474
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e50a8;
/* rgb */ color: rgb(78, 80, 168);
/* oklch */ color: oklch(47.7% 0.138 278.8);
Tailwind
colors: {
  custom: {
    50: '#8781c2',
    500: '#4e50a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e50a8;
$custom-light: #8781c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50a8",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 168
  },
  "hsl": {
    "h": 238.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.13813,
    "h": 278.8
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E50A8

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

Preview Lab → · Contrast checker → · Palette generator →

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