#4E50DF#4E50DF

#4E50DF is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.212 H 275.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4E50DF
RGBrgb(78, 80, 223)
HSLhsl(239, 69%, 59%)
HSVhsv(239, 65%, 87%)
CMYKcmyk(65%, 64.1%, 0%, 12.5%)
CIE-LABlab(42.28, 42.80, -73.13)
CIE-LCHlch(42.28, 84.73, 300.34°)
OKLaboklab(52% 0.0204 -0.2109)
OKLCHoklch(52% 0.212 275.5)
XYZxyz(19.3255, 12.6831, 71.2274)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50DF #DFDD4E
analogous
#4E99DF #4E50DF #954EDF
triadic
#4E50DF #DF4E50 #50DF4E
tetradic
#4E50DF #DF4E99 #DFDD4E #4EDF95
square
#4E50DF #DF4E99 #DFDD4E #4EDF95
split-complementary
#4E50DF #DF954E #99DF4E
monochromatic
#1B1D97 #2527CB #4E50DF #8283E8 #B6B6F2

Accessibility & contrast

On white

5.94
#4E50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50DF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50DF#FFFFFF#000000##FFFFFF
##4E50DF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e50df;
/* rgb */ color: rgb(78, 80, 223);
/* oklch */ color: oklch(52.0% 0.212 275.5);
Tailwind
colors: {
  custom: {
    50: '#9081ea',
    500: '#4e50df',
    950: '#000000',
  },
}
SCSS
$custom: #4e50df;
$custom-light: #9081ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50df",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 239.172,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.21193,
    "h": 275.5
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#4E50DF
secondary
#E1E0A8
accent
#EA3CEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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