#4A4ACC#4A4ACC

#4A4ACC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.1% C 0.196 H 276.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4A4ACC
RGBrgb(74, 74, 204)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 64%, 80%)
CMYKcmyk(63.7%, 63.7%, 0%, 20%)
CIE-LABlab(39.09, 39.58, -67.45)
CIE-LCHlch(39.09, 78.21, 300.41°)
OKLaboklab(49.12% 0.0219 -0.1944)
OKLCHoklch(49.12% 0.196 276.4)
XYZxyz(16.1684, 10.7117, 58.3306)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ACC #CCCC4A
analogous
#4A8BCC #4A4ACC #8B4ACC
triadic
#4A4ACC #CC4A4A #4ACC4A
tetradic
#4A4ACC #CC4A8B #CCCC4A #4ACC8B
square
#4A4ACC #CC4A8B #CCCC4A #4ACC8B
split-complementary
#4A4ACC #CC8B4A #8BCC4A
monochromatic
#222279 #3030A9 #4A4ACC #7A7AD9 #A9A9E7

Accessibility & contrast

On white

6.68
#4A4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4A4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ACC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ACC#FFFFFF#000000##FFFFFF
##4A4ACC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4acc;
/* rgb */ color: rgb(74, 74, 204);
/* oklch */ color: oklch(49.1% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b7ddd',
    500: '#4a4acc',
    950: '#000000',
  },
}
SCSS
$custom: #4a4acc;
$custom-light: #8b7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4acc",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.19564,
    "h": 276.4
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#4A4ACC
secondary
#D4D49D
accent
#DF48DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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