#4E5EC2#4E5EC2

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

Color values

HEX#4E5EC2
RGBrgb(78, 94, 194)
HSLhsl(232, 49%, 53%)
HSVhsv(232, 60%, 76%)
CMYKcmyk(59.8%, 51.5%, 0%, 23.9%)
CIE-LABlab(43.53, 24.43, -54.43)
CIE-LCHlch(43.53, 59.66, 294.17°)
OKLaboklab(52.26% 0.0081 -0.1559)
OKLCHoklch(52.26% 0.156 273)
XYZxyz(16.8790, 13.5188, 52.7484)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC2 #C2B24E
analogous
#4E98C2 #4E5EC2 #784EC2
triadic
#4E5EC2 #C24E5E #5EC24E
tetradic
#4E5EC2 #C24E98 #C2B24E #4EC278
square
#4E5EC2 #C24E98 #C2B24E #4EC278
split-complementary
#4E5EC2 #C2784E #98C24E
monochromatic
#26306F #36449D #4E5EC2 #7C87D2 #A9B1E1

Accessibility & contrast

On white

5.67
#4E5EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5EC2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EC2#FFFFFF#000000##FFFFFF
##4E5EC21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#0462C0
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5ec2;
/* rgb */ color: rgb(78, 94, 194);
/* oklch */ color: oklch(52.3% 0.156 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a8bd5',
    500: '#4e5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec2;
$custom-light: #8a8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec2",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 231.724,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.15607,
    "h": 273
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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