#4A4EC1#4A4EC1

#4A4EC1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.176 H 276.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4A4EC1
RGBrgb(74, 78, 193)
HSLhsl(238, 49%, 52%)
HSVhsv(238, 62%, 76%)
CMYKcmyk(61.7%, 59.6%, 0%, 24.3%)
CIE-LABlab(39.16, 33.45, -60.94)
CIE-LCHlch(39.16, 69.52, 298.77°)
OKLaboklab(48.9% 0.019 -0.1753)
OKLCHoklch(48.9% 0.176 276.2)
XYZxyz(15.1709, 10.7537, 51.7179)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EC1 #C1BD4A
analogous
#4A8AC1 #4A4EC1 #814AC1
triadic
#4A4EC1 #C14A4E #4EC14A
tetradic
#4A4EC1 #C14A8A #C1BD4A #4AC181
square
#4A4EC1 #C14A8A #C1BD4A #4AC181
split-complementary
#4A4EC1 #C1814A #8AC14A
monochromatic
#25276C #353899 #4A4EC1 #787BD1 #A5A7E0

Accessibility & contrast

On white

6.66
#4A4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4A4EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EC1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EC1#FFFFFF#000000##FFFFFF
##4A4EC11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4ec1;
/* rgb */ color: rgb(74, 78, 193);
/* oklch */ color: oklch(48.9% 0.176 276.2);
Tailwind
colors: {
  custom: {
    50: '#897fd5',
    500: '#4a4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ec1;
$custom-light: #897fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ec1",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 237.983,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.489,
    "c": 0.1763,
    "h": 276.2
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#4A4EC1
secondary
#CDCC99
accent
#D44FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4A4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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