#4C4ECB#4C4ECB

#4C4ECB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.189 H 276.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4C4ECB
RGBrgb(76, 78, 203)
HSLhsl(239, 55%, 55%)
HSVhsv(239, 63%, 80%)
CMYKcmyk(62.6%, 61.6%, 0%, 20.4%)
CIE-LABlab(40.07, 37.12, -65.26)
CIE-LCHlch(40.07, 75.08, 299.63°)
OKLaboklab(49.85% 0.021 -0.1879)
OKLCHoklch(49.85% 0.189 276.4)
XYZxyz(16.4809, 11.2957, 57.8001)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ECB #CBC94C
analogous
#4C8ECB #4C4ECB #8A4CCB
triadic
#4C4ECB #CB4C4E #4ECB4C
tetradic
#4C4ECB #CB4C8E #CBC94C #4CCB8A
square
#4C4ECB #CB4C8E #CBC94C #4CCB8A
split-complementary
#4C4ECB #CB8A4C #8ECB4C
monochromatic
#232579 #3133A9 #4C4ECB #7B7DD9 #ABACE7

Accessibility & contrast

On white

6.44
#4C4ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C4ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ECB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ECB#FFFFFF#000000##FFFFFF
##4C4ECB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4ecb;
/* rgb */ color: rgb(76, 78, 203);
/* oklch */ color: oklch(49.9% 0.189 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b80dc',
    500: '#4c4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ecb;
$custom-light: #8b80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ecb",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 239.055,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.18908,
    "h": 276.4
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#4C4ECB
secondary
#D4D39F
accent
#DC49DE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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