#4C4FEB#4C4FEB

#4C4FEB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.228 H 274.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4C4FEB
RGBrgb(76, 79, 235)
HSLhsl(239, 80%, 61%)
HSVhsv(239, 68%, 92%)
CMYKcmyk(67.7%, 66.4%, 0%, 7.8%)
CIE-LABlab(42.95, 47.05, -78.85)
CIE-LCHlch(42.95, 91.82, 300.83°)
OKLaboklab(52.77% 0.0177 -0.2277)
OKLCHoklch(52.77% 0.228 274.4)
XYZxyz(20.7669, 13.1247, 80.0201)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FEB #EBE84C
analogous
#4C9EEB #4C4FEB #984CEB
triadic
#4C4FEB #EB4C4F #4FEB4C
tetradic
#4C4FEB #EB4C9E #EBE84C #4CEB98
square
#4C4FEB #EB4C9E #EBE84C #4CEB98
split-complementary
#4C4FEB #EB984C #9EEB4C
monochromatic
#1316AA #191DE1 #4C4FEB #8385F1 #BABBF7

Accessibility & contrast

On white

5.79
#4C4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4C4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FEB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FEB#FFFFFF#000000##FFFFFF
##4C4FEB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4feb;
/* rgb */ color: rgb(76, 79, 235);
/* oklch */ color: oklch(52.8% 0.228 274.4);
Tailwind
colors: {
  custom: {
    50: '#9181f3',
    500: '#4c4feb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4feb;
$custom-light: #9181f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4feb",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 238.868,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.22843,
    "h": 274.4
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#4C4FEB
secondary
#E7E6AB
accent
#D809DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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