#4C4FE1#4C4FE1

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

Color values

HEX#4C4FE1
RGBrgb(76, 79, 225)
HSLhsl(239, 71%, 59%)
HSVhsv(239, 66%, 88%)
CMYKcmyk(66.2%, 64.9%, 0%, 11.8%)
CIE-LABlab(42.10, 43.78, -74.58)
CIE-LCHlch(42.10, 86.48, 300.42°)
OKLaboklab(51.89% 0.0187 -0.2152)
OKLCHoklch(51.89% 0.216 275)
XYZxyz(19.3626, 12.5630, 72.6241)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FE1 #E1DE4C
analogous
#4C9AE1 #4C4FE1 #944CE1
triadic
#4C4FE1 #E14C4F #4FE14C
tetradic
#4C4FE1 #E14C9A #E1DE4C #4CE194
square
#4C4FE1 #E14C9A #E1DE4C #4CE194
split-complementary
#4C4FE1 #E1944C #9AE14C
monochromatic
#1A1C99 #2226CD #4C4FE1 #8083EA #B5B6F3

Accessibility & contrast

On white

5.98
#4C4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4C4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FE1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FE1#FFFFFF#000000##FFFFFF
##4C4FE11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c4fe1;
/* rgb */ color: rgb(76, 79, 225);
/* oklch */ color: oklch(51.9% 0.216 275.0);
Tailwind
colors: {
  custom: {
    50: '#8f81ec',
    500: '#4c4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fe1;
$custom-light: #8f81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fe1",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 238.792,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.21605,
    "h": 275
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#4C4FE1
secondary
#E2E0A7
accent
#EA3AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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