#4E5EC1#4E5EC1

#4E5EC1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.155 H 273.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E5EC1
RGBrgb(78, 94, 193)
HSLhsl(232, 48%, 53%)
HSVhsv(232, 60%, 76%)
CMYKcmyk(59.6%, 51.3%, 0%, 24.3%)
CIE-LABlab(43.47, 24.09, -53.96)
CIE-LCHlch(43.47, 59.09, 294.06°)
OKLaboklab(52.19% 0.008 -0.1545)
OKLCHoklch(52.19% 0.155 273)
XYZxyz(16.7671, 13.4741, 52.1589)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC1 #C1B14E
analogous
#4E97C1 #4E5EC1 #774EC1
triadic
#4E5EC1 #C14E5E #5EC14E
tetradic
#4E5EC1 #C14E97 #C1B14E #4EC177
square
#4E5EC1 #C14E97 #C1B14E #4EC177
split-complementary
#4E5EC1 #C1774E #97C14E
monochromatic
#27306E #36449B #4E5EC1 #7B87D1 #A9B0E1

Accessibility & contrast

On white

5.68
#4E5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E5EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EC1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EC1#FFFFFF#000000##FFFFFF
##4E5EC11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276CC5
Deuteranopia (green-blind)
#0962BF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5ec1;
/* rgb */ color: rgb(78, 94, 193);
/* oklch */ color: oklch(52.2% 0.155 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a8bd4',
    500: '#4e5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec1;
$custom-light: #8a8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec1",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 231.652,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.15467,
    "h": 273
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#4E5EC1
secondary
#CEC79D
accent
#C550D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4E5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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