#4E5ACC#4E5ACC

#4E5ACC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.175 H 274.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E5ACC
RGBrgb(78, 90, 204)
HSLhsl(234, 55%, 55%)
HSVhsv(234, 62%, 80%)
CMYKcmyk(61.8%, 55.9%, 0%, 20%)
CIE-LABlab(43.20, 30.33, -60.76)
CIE-LCHlch(43.20, 67.91, 296.53°)
OKLaboklab(52.22% 0.0126 -0.1745)
OKLCHoklch(52.22% 0.175 274.1)
XYZxyz(17.6935, 13.2902, 58.7479)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ACC #CCC04E
analogous
#4E99CC #4E5ACC #814ECC
triadic
#4E5ACC #CC4E5A #5ACC4E
tetradic
#4E5ACC #CC4E99 #CCC04E #4ECC81
square
#4E5ACC #CC4E99 #CCC04E #4ECC81
split-complementary
#4E5ACC #CC814E #99CC4E
monochromatic
#242C7C #313DAB #4E5ACC #7E86DA #ADB3E7

Accessibility & contrast

On white

5.74
#4E5ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E5ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ACC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ACC#FFFFFF#000000##FFFFFF
##4E5ACC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5acc;
/* rgb */ color: rgb(78, 90, 204);
/* oklch */ color: oklch(52.2% 0.175 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c88dc',
    500: '#4e5acc',
    950: '#000000',
  },
}
SCSS
$custom: #4e5acc;
$custom-light: #8c88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5acc",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 234.286,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.17496,
    "h": 274.1
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#4E5ACC
secondary
#D5D0A1
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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