#4C4CE9#4C4CE9

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

Color values

HEX#4C4CE9
RGBrgb(76, 76, 233)
HSLhsl(240, 78%, 61%)
HSVhsv(240, 67%, 91%)
CMYKcmyk(67.4%, 67.4%, 0%, 8.6%)
CIE-LABlab(42.13, 48.14, -79.06)
CIE-LCHlch(42.13, 92.56, 301.34°)
OKLaboklab(52.12% 0.0199 -0.2284)
OKLCHoklch(52.12% 0.229 275)
XYZxyz(20.2681, 12.5867, 78.4364)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CE9 #E9E94C
analogous
#4C9AE9 #4C4CE9 #9A4CE9
triadic
#4C4CE9 #E94C4C #4CE94C
tetradic
#4C4CE9 #E94C9A #E9E94C #4CE99A
square
#4C4CE9 #E94C9A #E9E94C #4CE99A
split-complementary
#4C4CE9 #E99A4C #9AE94C
monochromatic
#1414A6 #1B1BDD #4C4CE9 #8383F0 #B9B9F6

Accessibility & contrast

On white

5.97
#4C4CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4C4CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CE9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CE9#FFFFFF#000000##FFFFFF
##4C4CE91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#005CE6
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c4ce9;
/* rgb */ color: rgb(76, 76, 233);
/* oklch */ color: oklch(52.1% 0.229 275.0);
Tailwind
colors: {
  custom: {
    50: '#917ff1',
    500: '#4c4ce9',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ce9;
$custom-light: #917ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ce9",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 240,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.22923,
    "h": 275
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#4C4CE9
secondary
#E6E6AB
accent
#DA0BDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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