#4E5ECA#4E5ECA

#4E5ECA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.167 H 273.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E5ECA
RGBrgb(78, 94, 202)
HSLhsl(232, 54%, 55%)
HSVhsv(232, 61%, 79%)
CMYKcmyk(61.4%, 53.5%, 0%, 20.8%)
CIE-LABlab(44.07, 27.14, -58.19)
CIE-LCHlch(44.07, 64.21, 295.01°)
OKLaboklab(52.83% 0.0087 -0.1669)
OKLCHoklch(52.83% 0.167 273)
XYZxyz(17.8017, 13.8879, 57.6082)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ECA #CABA4E
analogous
#4E9CCA #4E5ECA #7C4ECA
triadic
#4E5ECA #CA4E5E #5ECA4E
tetradic
#4E5ECA #CA4E9C #CABA4E #4ECA7C
square
#4E5ECA #CA4E9C #CABA4E #4ECA7C
split-complementary
#4E5ECA #CA7C4E #9CCA4E
monochromatic
#242F79 #3242A8 #4E5ECA #7D89D8 #ACB4E6

Accessibility & contrast

On white

5.56
#4E5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ECA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ECA#FFFFFF#000000##FFFFFF
##4E5ECA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5eca;
/* rgb */ color: rgb(78, 94, 202);
/* oklch */ color: oklch(52.8% 0.167 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b8bdb',
    500: '#4e5eca',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eca;
$custom-light: #8b8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eca",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 232.258,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.16714,
    "h": 273
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#4E5ECA
secondary
#D4CDA0
accent
#CA4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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