#4E50CA#4E50CA

#4E50CA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.185 H 276.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4E50CA
RGBrgb(78, 80, 202)
HSLhsl(239, 54%, 55%)
HSVhsv(239, 61%, 79%)
CMYKcmyk(61.4%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.61, 35.88, -63.81)
CIE-LCHlch(40.61, 73.20, 299.35°)
OKLaboklab(50.25% 0.0217 -0.1836)
OKLCHoklch(50.25% 0.185 276.7)
XYZxyz(16.6678, 11.6200, 57.2302)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50CA #CAC84E
analogous
#4E8ECA #4E50CA #8A4ECA
triadic
#4E50CA #CA4E50 #50CA4E
tetradic
#4E50CA #CA4E8E #CAC84E #4ECA8A
square
#4E50CA #CA4E8E #CAC84E #4ECA8A
split-complementary
#4E50CA #CA8A4E #8ECA4E
monochromatic
#242679 #3234A8 #4E50CA #7D7FD8 #ACADE6

Accessibility & contrast

On white

6.32
#4E50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50CA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50CA#FFFFFF#000000##FFFFFF
##4E50CA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e50ca;
/* rgb */ color: rgb(78, 80, 202);
/* oklch */ color: oklch(50.3% 0.185 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c81db',
    500: '#4e50ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e50ca;
$custom-light: #8c81db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50ca",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 239.032,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.18485,
    "h": 276.7
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#4E50CA
secondary
#D4D3A0
accent
#DB4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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