#4E5EC6#4E5EC6

#4E5EC6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.162 H 273.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E5EC6
RGBrgb(78, 94, 198)
HSLhsl(232, 51%, 54%)
HSVhsv(232, 61%, 78%)
CMYKcmyk(60.6%, 52.5%, 0%, 22.4%)
CIE-LABlab(43.80, 25.79, -56.32)
CIE-LCHlch(43.80, 61.94, 294.60°)
OKLaboklab(52.54% 0.0084 -0.1614)
OKLCHoklch(52.54% 0.162 273)
XYZxyz(17.3343, 13.7009, 55.1462)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC6 #C6B64E
analogous
#4E9AC6 #4E5EC6 #7A4EC6
triadic
#4E5EC6 #C64E5E #5EC64E
tetradic
#4E5EC6 #C64E9A #C6B64E #4EC67A
square
#4E5EC6 #C64E9A #C6B64E #4EC67A
split-complementary
#4E5EC6 #C67A4E #9AC64E
monochromatic
#253074 #3443A2 #4E5EC6 #7C88D5 #ABB2E4

Accessibility & contrast

On white

5.61
#4E5EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E5EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EC6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EC6#FFFFFF#000000##FFFFFF
##4E5EC61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6DCA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5ec6;
/* rgb */ color: rgb(78, 94, 198);
/* oklch */ color: oklch(52.5% 0.162 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b8bd8',
    500: '#4e5ec6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec6;
$custom-light: #8b8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec6",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 232,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.16163,
    "h": 273
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#4E5EC6
secondary
#D1CB9E
accent
#C84DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E5EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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