#4A4AEB#4A4AEB

#4A4AEB is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.234 H 274.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4A4AEB
RGBrgb(74, 74, 235)
HSLhsl(240, 80%, 61%)
HSVhsv(240, 69%, 92%)
CMYKcmyk(68.5%, 68.5%, 0%, 7.8%)
CIE-LABlab(41.77, 49.70, -80.80)
CIE-LCHlch(41.77, 94.86, 301.60°)
OKLaboklab(51.88% 0.0186 -0.2335)
OKLCHoklch(51.88% 0.234 274.6)
XYZxyz(20.2632, 12.3497, 79.8970)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4AEB #EBEB4A
analogous
#4A9AEB #4A4AEB #9A4AEB
triadic
#4A4AEB #EB4A4A #4AEB4A
tetradic
#4A4AEB #EB4A9A #EBEB4A #4AEB9A
square
#4A4AEB #EB4A9A #EBEB4A #4AEB9A
split-complementary
#4A4AEB #EB9A4A #9AEB4A
monochromatic
#1313A8 #1919DF #4A4AEB #8181F1 #B8B8F7

Accessibility & contrast

On white

6.05
#4A4AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4A4AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4AEB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4AEB#FFFFFF#000000##FFFFFF
##4A4AEB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF0
Deuteranopia (green-blind)
#005BE8
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a4aeb;
/* rgb */ color: rgb(74, 74, 235);
/* oklch */ color: oklch(51.9% 0.234 274.6);
Tailwind
colors: {
  custom: {
    50: '#917ef3',
    500: '#4a4aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aeb;
$custom-light: #917ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aeb",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.51879,
    "c": 0.23423,
    "h": 274.6
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#4A4AEB
secondary
#E7E7AA
accent
#DC09DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4A4AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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