#4C4EDF#4C4EDF

#4C4EDF is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.5% C 0.215 H 275.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4C4EDF
RGBrgb(76, 78, 223)
HSLhsl(239, 70%, 59%)
HSVhsv(239, 66%, 87%)
CMYKcmyk(65.9%, 65%, 0%, 12.5%)
CIE-LABlab(41.71, 43.72, -74.08)
CIE-LCHlch(41.71, 86.02, 300.55°)
OKLaboklab(51.55% 0.0196 -0.2138)
OKLCHoklch(51.55% 0.215 275.2)
XYZxyz(19.0198, 12.3113, 71.1717)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EDF #DFDD4C
analogous
#4C97DF #4C4EDF #934CDF
triadic
#4C4EDF #DF4C4E #4EDF4C
tetradic
#4C4EDF #DF4C97 #DFDD4C #4CDF93
square
#4C4EDF #DF4C97 #DFDD4C #4CDF93
split-complementary
#4C4EDF #DF934C #97DF4C
monochromatic
#1B1C96 #2426CA #4C4EDF #8081E8 #B4B5F2

Accessibility & contrast

On white

6.06
#4C4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4C4EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EDF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EDF#FFFFFF#000000##FFFFFF
##4C4EDF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c4edf;
/* rgb */ color: rgb(76, 78, 223);
/* oklch */ color: oklch(51.5% 0.215 275.2);
Tailwind
colors: {
  custom: {
    50: '#8f80ea',
    500: '#4c4edf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4edf;
$custom-light: #8f80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4edf",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 239.184,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.21468,
    "h": 275.2
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#4C4EDF
secondary
#E0E0A6
accent
#EA3BEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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