#4E4EC8#4E4EC8

#4E4EC8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.185 H 277.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4E4EC8
RGBrgb(78, 78, 200)
HSLhsl(240, 53%, 55%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(61%, 61%, 0%, 21.6%)
CIE-LABlab(39.98, 36.44, -63.67)
CIE-LCHlch(39.98, 73.36, 299.78°)
OKLaboklab(49.74% 0.0235 -0.1832)
OKLCHoklch(49.74% 0.185 277.3)
XYZxyz(16.2882, 11.2374, 55.9431)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EC8 #C8C84E
analogous
#4E8BC8 #4E4EC8 #8B4EC8
triadic
#4E4EC8 #C84E4E #4EC84E
tetradic
#4E4EC8 #C84E8B #C8C84E #4EC88B
square
#4E4EC8 #C84E8B #C8C84E #4EC88B
split-complementary
#4E4EC8 #C88B4E #8BC84E
monochromatic
#252577 #3333A5 #4E4EC8 #7D7DD7 #ABABE5

Accessibility & contrast

On white

6.47
#4E4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EC8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EC8#FFFFFF#000000##FFFFFF
##4E4EC81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4ec8;
/* rgb */ color: rgb(78, 78, 200);
/* oklch */ color: oklch(49.7% 0.185 277.3);
Tailwind
colors: {
  custom: {
    50: '#8c80da',
    500: '#4e4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ec8;
$custom-light: #8c80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ec8",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.18469,
    "h": 277.3
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#4E4EC8
secondary
#D3D39F
accent
#DC4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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