#4A4CAE#4A4CAE

#4A4CAE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.153 H 277.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4A4CAE
RGBrgb(74, 76, 174)
HSLhsl(239, 40%, 49%)
HSVhsv(239, 57%, 68%)
CMYKcmyk(57.5%, 56.3%, 0%, 31.8%)
CIE-LABlab(37.26, 28.34, -52.85)
CIE-LCHlch(37.26, 59.97, 298.21°)
OKLaboklab(47.05% 0.021 -0.1515)
OKLCHoklch(47.05% 0.153 277.9)
XYZxyz(13.0460, 9.6798, 41.2171)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CAE #AEAC4A
analogous
#4A7EAE #4A4CAE #7A4AAE
triadic
#4A4CAE #AE4A4C #4CAE4A
tetradic
#4A4CAE #AE4A7E #AEAC4A #4AAE7A
square
#4A4CAE #AE4A7E #AEAC4A #4AAE7A
split-complementary
#4A4CAE #AE7A4A #7EAE4A
monochromatic
#252658 #383983 #4A4CAE #7274C3 #9D9ED5

Accessibility & contrast

On white

7.15
#4A4CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4A4CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4CAE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CAE#FFFFFF#000000##FFFFFF
##4A4CAE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#0F6375
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4cae;
/* rgb */ color: rgb(74, 76, 174);
/* oklch */ color: oklch(47.0% 0.153 277.9);
Tailwind
colors: {
  custom: {
    50: '#857ec7',
    500: '#4a4cae',
    950: '#000000',
  },
}
SCSS
$custom: #4a4cae;
$custom-light: #857ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4cae",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 238.8,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.15292,
    "h": 277.9
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#4A4CAE
secondary
#C2C192
accent
#CE58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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