#4A4ABE#4A4ABE

#4A4ABE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.177 H 277.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4A4ABE
RGBrgb(74, 74, 190)
HSLhsl(240, 47%, 52%)
HSVhsv(240, 61%, 75%)
CMYKcmyk(61.1%, 61.1%, 0%, 25.5%)
CIE-LABlab(37.97, 34.94, -61.13)
CIE-LCHlch(37.97, 70.41, 299.75°)
OKLaboklab(47.95% 0.0227 -0.1759)
OKLCHoklch(47.95% 0.177 277.4)
XYZxyz(14.5641, 10.0700, 49.8814)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ABE #BEBE4A
analogous
#4A84BE #4A4ABE #844ABE
triadic
#4A4ABE #BE4A4A #4ABE4A
tetradic
#4A4ABE #BE4A84 #BEBE4A #4ABE84
square
#4A4ABE #BE4A84 #BEBE4A #4ABE84
split-complementary
#4A4ABE #BE844A #84BE4A
monochromatic
#252568 #363695 #4A4ABE #7777CE #A4A4DE

Accessibility & contrast

On white

6.97
#4A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4A4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ABE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ABE#FFFFFF#000000##FFFFFF
##4A4ABE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4abe;
/* rgb */ color: rgb(74, 74, 190);
/* oklch */ color: oklch(47.9% 0.177 277.4);
Tailwind
colors: {
  custom: {
    50: '#887dd2',
    500: '#4a4abe',
    950: '#000000',
  },
}
SCSS
$custom: #4a4abe;
$custom-light: #887dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4abe",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.17732,
    "h": 277.4
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#4A4ABE
secondary
#CBCB98
accent
#D751D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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