#4A4ABA#4A4ABA

#4A4ABA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.172 H 277.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4A4ABA
RGBrgb(74, 74, 186)
HSLhsl(240, 45%, 51%)
HSVhsv(240, 60%, 73%)
CMYKcmyk(60.2%, 60.2%, 0%, 27.1%)
CIE-LABlab(37.66, 33.61, -59.29)
CIE-LCHlch(37.66, 68.15, 299.55°)
OKLaboklab(47.62% 0.0229 -0.1704)
OKLCHoklch(47.62% 0.172 277.6)
XYZxyz(14.1329, 9.8975, 47.6105)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ABA #BABA4A
analogous
#4A82BA #4A4ABA #824ABA
triadic
#4A4ABA #BA4A4A #4ABA4A
tetradic
#4A4ABA #BA4A82 #BABA4A #4ABA82
square
#4A4ABA #BA4A82 #BABA4A #4ABA82
split-complementary
#4A4ABA #BA824A #82BA4A
monochromatic
#262664 #373790 #4A4ABA #7676CB #A3A3DC

Accessibility & contrast

On white

7.05
#4A4ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4A4ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4ABA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ABA#FFFFFF#000000##FFFFFF
##4A4ABA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4aba;
/* rgb */ color: rgb(74, 74, 186);
/* oklch */ color: oklch(47.6% 0.172 277.6);
Tailwind
colors: {
  custom: {
    50: '#887cd0',
    500: '#4a4aba',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aba;
$custom-light: #887cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aba",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.17197,
    "h": 277.6
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#4A4ABA
secondary
#C9C997
accent
#D553D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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