#4C4EC8#4C4EC8

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

Color values

HEX#4C4EC8
RGBrgb(76, 78, 200)
HSLhsl(239, 53%, 54%)
HSVhsv(239, 62%, 78%)
CMYKcmyk(62%, 61%, 0%, 21.6%)
CIE-LABlab(39.84, 36.12, -63.91)
CIE-LCHlch(39.84, 73.41, 299.48°)
OKLaboklab(49.6% 0.0212 -0.1839)
OKLCHoklch(49.6% 0.185 276.6)
XYZxyz(16.1268, 11.1541, 55.9355)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EC8 #C8C64C
analogous
#4C8CC8 #4C4EC8 #884CC8
triadic
#4C4EC8 #C84C4E #4EC84C
tetradic
#4C4EC8 #C84C8C #C8C64C #4CC888
square
#4C4EC8 #C84C8C #C8C64C #4CC888
split-complementary
#4C4EC8 #C8884C #8CC84C
monochromatic
#242575 #3234A4 #4C4EC8 #7B7CD6 #AAABE5

Accessibility & contrast

On white

6.50
#4C4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4C4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EC8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EC8#FFFFFF#000000##FFFFFF
##4C4EC81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.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: #4c4ec8;
/* rgb */ color: rgb(76, 78, 200);
/* oklch */ color: oklch(49.6% 0.185 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b80da',
    500: '#4c4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ec8;
$custom-light: #8b80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ec8",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 239.032,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.18514,
    "h": 276.6
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#4C4EC8
secondary
#D2D19E
accent
#DA4BDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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