#4C4EEB#4C4EEB

#4C4EEB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.230 H 274.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4C4EEB
RGBrgb(76, 78, 235)
HSLhsl(239, 80%, 61%)
HSVhsv(239, 68%, 92%)
CMYKcmyk(67.7%, 66.8%, 0%, 7.8%)
CIE-LABlab(42.74, 47.63, -79.20)
CIE-LCHlch(42.74, 92.42, 301.02°)
OKLaboklab(52.61% 0.0184 -0.2288)
OKLCHoklch(52.61% 0.23 274.6)
XYZxyz(20.6953, 12.9815, 79.9962)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EEB #EBE94C
analogous
#4C9DEB #4C4EEB #994CEB
triadic
#4C4EEB #EB4C4E #4EEB4C
tetradic
#4C4EEB #EB4C9D #EBE94C #4CEB99
square
#4C4EEB #EB4C9D #EBE94C #4CEB99
split-complementary
#4C4EEB #EB994C #9DEB4C
monochromatic
#1315AA #191CE1 #4C4EEB #8384F1 #BABBF7

Accessibility & contrast

On white

5.84
#4C4EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4C4EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EEB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EEB#FFFFFF#000000##FFFFFF
##4C4EEB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#005EE8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c4eeb;
/* rgb */ color: rgb(76, 78, 235);
/* oklch */ color: oklch(52.6% 0.230 274.6);
Tailwind
colors: {
  custom: {
    50: '#9180f3',
    500: '#4c4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eeb;
$custom-light: #9180f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eeb",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 239.245,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.22951,
    "h": 274.6
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#4C4EEB
secondary
#E7E7AB
accent
#DA09DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4C4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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