#4A4EAE#4A4EAE

#4A4EAE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.150 H 277.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4A4EAE
RGBrgb(74, 78, 174)
HSLhsl(238, 40%, 49%)
HSVhsv(238, 57%, 68%)
CMYKcmyk(57.5%, 55.2%, 0%, 31.8%)
CIE-LABlab(37.77, 27.07, -52.03)
CIE-LCHlch(37.77, 58.65, 297.49°)
OKLaboklab(47.43% 0.0189 -0.149)
OKLCHoklch(47.43% 0.15 277.2)
XYZxyz(13.1860, 9.9597, 41.2638)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EAE #AEAA4A
analogous
#4A80AE #4A4EAE #784AAE
triadic
#4A4EAE #AE4A4E #4EAE4A
tetradic
#4A4EAE #AE4A80 #AEAA4A #4AAE78
square
#4A4EAE #AE4A80 #AEAA4A #4AAE78
split-complementary
#4A4EAE #AE784A #80AE4A
monochromatic
#252858 #383B83 #4A4EAE #7275C3 #9D9FD5

Accessibility & contrast

On white

7.02
#4A4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4A4EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4EAE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EAE#FFFFFF#000000##FFFFFF
##4A4EAE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#0E6476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4eae;
/* rgb */ color: rgb(74, 78, 174);
/* oklch */ color: oklch(47.4% 0.150 277.2);
Tailwind
colors: {
  custom: {
    50: '#857fc7',
    500: '#4a4eae',
    950: '#000000',
  },
}
SCSS
$custom: #4a4eae;
$custom-light: #857fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4eae",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 237.6,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47426,
    "c": 0.15024,
    "h": 277.2
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#4A4EAE
secondary
#C2C092
accent
#CB58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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