#4E50C2#4E50C2

#4E50C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.174 H 277.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4E50C2
RGBrgb(78, 80, 194)
HSLhsl(239, 49%, 53%)
HSVhsv(239, 60%, 76%)
CMYKcmyk(59.8%, 58.8%, 0%, 23.9%)
CIE-LABlab(40.00, 33.22, -60.15)
CIE-LCHlch(40.00, 68.72, 298.91°)
OKLaboklab(49.61% 0.0219 -0.1728)
OKLCHoklch(49.61% 0.174 277.2)
XYZxyz(15.7450, 11.2509, 52.3704)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50C2 #C2C04E
analogous
#4E8AC2 #4E50C2 #864EC2
triadic
#4E50C2 #C24E50 #50C24E
tetradic
#4E50C2 #C24E8A #C2C04E #4EC286
square
#4E50C2 #C24E8A #C2C04E #4EC286
split-complementary
#4E50C2 #C2864E #8AC24E
monochromatic
#26286F #36389D #4E50C2 #7C7DD2 #A9AAE1

Accessibility & contrast

On white

6.46
#4E50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50C2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50C2#FFFFFF#000000##FFFFFF
##4E50C21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e50c2;
/* rgb */ color: rgb(78, 80, 194);
/* oklch */ color: oklch(49.6% 0.174 277.2);
Tailwind
colors: {
  custom: {
    50: '#8b81d5',
    500: '#4e50c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e50c2;
$custom-light: #8b81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50c2",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 238.966,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.1742,
    "h": 277.2
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#4E50C2
secondary
#CFCE9D
accent
#D650D8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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