#4E5EC7#4E5EC7

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

Color values

HEX#4E5EC7
RGBrgb(78, 94, 199)
HSLhsl(232, 52%, 54%)
HSVhsv(232, 61%, 78%)
CMYKcmyk(60.8%, 52.8%, 0%, 22%)
CIE-LABlab(43.87, 26.12, -56.79)
CIE-LCHlch(43.87, 62.51, 294.70°)
OKLaboklab(52.61% 0.0085 -0.1628)
OKLCHoklch(52.61% 0.163 273)
XYZxyz(17.4500, 13.7472, 55.7557)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC7 #C7B74E
analogous
#4E9BC7 #4E5EC7 #7B4EC7
triadic
#4E5EC7 #C74E5E #5EC74E
tetradic
#4E5EC7 #C74E9B #C7B74E #4EC77B
square
#4E5EC7 #C74E9B #C7B74E #4EC77B
split-complementary
#4E5EC7 #C77B4E #9BC74E
monochromatic
#253075 #3443A4 #4E5EC7 #7C88D6 #ABB3E4

Accessibility & contrast

On white

5.60
#4E5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E5EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EC7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EC7#FFFFFF#000000##FFFFFF
##4E5EC71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5ec7;
/* rgb */ color: rgb(78, 94, 199);
/* oklch */ color: oklch(52.6% 0.163 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b8bd9',
    500: '#4e5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec7;
$custom-light: #8b8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec7",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 232.066,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.16301,
    "h": 273
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#4E5EC7
secondary
#D2CB9F
accent
#C84CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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