#4E5EC3#4E5EC3

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

Color values

HEX#4E5EC3
RGBrgb(78, 94, 195)
HSLhsl(232, 49%, 54%)
HSVhsv(232, 60%, 76%)
CMYKcmyk(60%, 51.8%, 0%, 23.5%)
CIE-LABlab(43.60, 24.77, -54.90)
CIE-LCHlch(43.60, 60.23, 294.28°)
OKLaboklab(52.33% 0.0082 -0.1572)
OKLCHoklch(52.33% 0.157 273)
XYZxyz(16.9917, 13.5639, 53.3419)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC3 #C3B34E
analogous
#4E98C3 #4E5EC3 #784EC3
triadic
#4E5EC3 #C34E5E #5EC34E
tetradic
#4E5EC3 #C34E98 #C3B34E #4EC378
square
#4E5EC3 #C34E98 #C3B34E #4EC378
split-complementary
#4E5EC3 #C3784E #98C34E
monochromatic
#263070 #36449E #4E5EC3 #7C88D2 #A9B1E2

Accessibility & contrast

On white

5.66
#4E5EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E5EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EC3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EC3#FFFFFF#000000##FFFFFF
##4E5EC31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC7
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5ec3;
/* rgb */ color: rgb(78, 94, 195);
/* oklch */ color: oklch(52.3% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a8bd6',
    500: '#4e5ec3',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec3;
$custom-light: #8a8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec3",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 231.795,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.15746,
    "h": 273
  },
  "luminance": 0.13565
}

Semantic roles & 50–950 ramp

primary
#4E5EC3
secondary
#CFC99D
accent
#C64FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E5EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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