#4C4EE5#4C4EE5

#4C4EE5 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.222 H 274.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4C4EE5
RGBrgb(76, 78, 229)
HSLhsl(239, 75%, 60%)
HSVhsv(239, 67%, 90%)
CMYKcmyk(66.8%, 65.9%, 0%, 10.2%)
CIE-LABlab(42.22, 45.68, -76.65)
CIE-LCHlch(42.22, 89.23, 300.79°)
OKLaboklab(52.08% 0.019 -0.2213)
OKLCHoklch(52.08% 0.222 274.9)
XYZxyz(19.8431, 12.6406, 75.5077)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EE5 #E5E34C
analogous
#4C9AE5 #4C4EE5 #974CE5
triadic
#4C4EE5 #E54C4E #4EE54C
tetradic
#4C4EE5 #E54C9A #E5E34C #4CE597
square
#4C4EE5 #E54C9A #E5E34C #4CE597
split-complementary
#4C4EE5 #E5974C #9AE54C
monochromatic
#17199F #1F21D5 #4C4EE5 #8183ED #B7B8F5

Accessibility & contrast

On white

5.95
#4C4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4C4EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EE5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EE5#FFFFFF#000000##FFFFFF
##4C4EE51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c4ee5;
/* rgb */ color: rgb(76, 78, 229);
/* oklch */ color: oklch(52.1% 0.222 274.9);
Tailwind
colors: {
  custom: {
    50: '#9080ee',
    500: '#4c4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ee5;
$custom-light: #9080ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ee5",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 239.216,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.22213,
    "h": 274.9
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#4C4EE5
secondary
#E4E3A9
accent
#EF37F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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