#4A4AEA#4A4AEA

#4A4AEA is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.8% C 0.233 H 274.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4A4AEA
RGBrgb(74, 74, 234)
HSLhsl(240, 79%, 60%)
HSVhsv(240, 68%, 92%)
CMYKcmyk(68.4%, 68.4%, 0%, 8.2%)
CIE-LABlab(41.68, 49.38, -80.38)
CIE-LCHlch(41.68, 94.33, 301.56°)
OKLaboklab(51.79% 0.0187 -0.2323)
OKLCHoklch(51.79% 0.233 274.6)
XYZxyz(20.1192, 12.2920, 79.1383)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4AEA #EAEA4A
analogous
#4A9AEA #4A4AEA #9A4AEA
triadic
#4A4AEA #EA4A4A #4AEA4A
tetradic
#4A4AEA #EA4A9A #EAEA4A #4AEA9A
square
#4A4AEA #EA4A9A #EAEA4A #4AEA9A
split-complementary
#4A4AEA #EA9A4A #9AEA4A
monochromatic
#1313A6 #1A1ADD #4A4AEA #8181F0 #B8B8F7

Accessibility & contrast

On white

6.07
#4A4AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4A4AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4AEA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4AEA#FFFFFF#000000##FFFFFF
##4A4AEA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a4aea;
/* rgb */ color: rgb(74, 74, 234);
/* oklch */ color: oklch(51.8% 0.233 274.6);
Tailwind
colors: {
  custom: {
    50: '#917ef2',
    500: '#4a4aea',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aea;
$custom-light: #917ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aea",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.23302,
    "h": 274.6
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#4A4AEA
secondary
#E6E6A9
accent
#DC0ADC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A4AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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