#4A4CEC#4A4CEC

#4A4CEC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.233 H 274.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4A4CEC
RGBrgb(74, 76, 236)
HSLhsl(239, 81%, 61%)
HSVhsv(239, 69%, 93%)
CMYKcmyk(68.6%, 67.8%, 0%, 7.5%)
CIE-LABlab(42.28, 48.88, -80.52)
CIE-LCHlch(42.28, 94.20, 301.26°)
OKLaboklab(52.27% 0.0173 -0.2327)
OKLCHoklch(52.27% 0.233 274.2)
XYZxyz(20.5438, 12.6789, 80.7052)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CEC #ECEA4A
analogous
#4A9DEC #4A4CEC #994AEC
triadic
#4A4CEC #EC4A4C #4CEC4A
tetradic
#4A4CEC #EC4A9D #ECEA4A #4AEC99
square
#4A4CEC #EC4A9D #ECEA4A #4AEC99
split-complementary
#4A4CEC #EC994A #9DEC4A
monochromatic
#1214AA #181AE1 #4A4CEC #8183F2 #B9BAF8

Accessibility & contrast

On white

5.94
#4A4CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4A4CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4CEC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CEC#FFFFFF#000000##FFFFFF
##4A4CEC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005CE9
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a4cec;
/* rgb */ color: rgb(74, 76, 236);
/* oklch */ color: oklch(52.3% 0.233 274.2);
Tailwind
colors: {
  custom: {
    50: '#917ff3',
    500: '#4a4cec',
    950: '#000000',
  },
}
SCSS
$custom: #4a4cec;
$custom-light: #917ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4cec",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 239.259,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.23334,
    "h": 274.2
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#4A4CEC
secondary
#E8E7AA
accent
#DB08DD
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4A4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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