#4A4DEC#4A4DEC

#4A4DEC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.4% C 0.232 H 274.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4A4DEC
RGBrgb(74, 77, 236)
HSLhsl(239, 81%, 61%)
HSVhsv(239, 69%, 93%)
CMYKcmyk(68.6%, 67.4%, 0%, 7.5%)
CIE-LABlab(42.49, 48.30, -80.18)
CIE-LCHlch(42.49, 93.60, 301.07°)
OKLaboklab(52.43% 0.0166 -0.2317)
OKLCHoklch(52.43% 0.232 274.1)
XYZxyz(20.6132, 12.8178, 80.7284)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4DEC #ECE94A
analogous
#4A9EEC #4A4DEC #984AEC
triadic
#4A4DEC #EC4A4D #4DEC4A
tetradic
#4A4DEC #EC4A9E #ECE94A #4AEC98
square
#4A4DEC #EC4A9E #ECE94A #4AEC98
split-complementary
#4A4DEC #EC984A #9EEC4A
monochromatic
#1215AA #181BE1 #4A4DEC #8183F2 #B9BAF8

Accessibility & contrast

On white

5.89
#4A4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4A4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4DEC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4DEC#FFFFFF#000000##FFFFFF
##4A4DEC1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#005DE9
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a4dec;
/* rgb */ color: rgb(74, 77, 236);
/* oklch */ color: oklch(52.4% 0.232 274.1);
Tailwind
colors: {
  custom: {
    50: '#9180f3',
    500: '#4a4dec',
    950: '#000000',
  },
}
SCSS
$custom: #4a4dec;
$custom-light: #9180f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4dec",
  "rgb": {
    "r": 74,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 238.889,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.23228,
    "h": 274.1
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#4A4DEC
secondary
#E8E6AA
accent
#D908DD
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4A4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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