#4C4FEA#4C4FEA

#4C4FEA is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.227 H 274.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4C4FEA
RGBrgb(76, 79, 234)
HSLhsl(239, 79%, 61%)
HSVhsv(239, 68%, 92%)
CMYKcmyk(67.5%, 66.2%, 0%, 8.2%)
CIE-LABlab(42.86, 46.73, -78.42)
CIE-LCHlch(42.86, 91.29, 300.79°)
OKLaboklab(52.68% 0.0178 -0.2265)
OKLCHoklch(52.68% 0.227 274.5)
XYZxyz(20.6228, 13.0671, 79.2613)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FEA #EAE74C
analogous
#4C9EEA #4C4FEA #984CEA
triadic
#4C4FEA #EA4C4F #4FEA4C
tetradic
#4C4FEA #EA4C9E #EAE74C #4CEA98
square
#4C4FEA #EA4C9E #EAE74C #4CEA98
split-complementary
#4C4FEA #EA984C #9EEA4C
monochromatic
#1417A8 #1A1EDF #4C4FEA #8385F0 #BABBF7

Accessibility & contrast

On white

5.81
#4C4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4C4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FEA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FEA#FFFFFF#000000##FFFFFF
##4C4FEA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4fea;
/* rgb */ color: rgb(76, 79, 234);
/* oklch */ color: oklch(52.7% 0.227 274.5);
Tailwind
colors: {
  custom: {
    50: '#9181f2',
    500: '#4c4fea',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fea;
$custom-light: #9181f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fea",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 238.861,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.2272,
    "h": 274.5
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#4C4FEA
secondary
#E7E6AB
accent
#D70ADB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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