#3A3CA4#3A3CA4

#3A3CA4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.164 H 276.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3A3CA4
RGBrgb(58, 60, 164)
HSLhsl(239, 48%, 44%)
HSVhsv(239, 65%, 64%)
CMYKcmyk(64.6%, 63.4%, 0%, 35.7%)
CIE-LABlab(31.37, 32.32, -56.49)
CIE-LCHlch(31.37, 65.08, 299.77°)
OKLaboklab(42.16% 0.017 -0.1628)
OKLCHoklch(42.16% 0.164 276)
XYZxyz(10.0594, 6.8108, 35.8993)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CA4 #A4A23A
analogous
#3A71A4 #3A3CA4 #6D3AA4
triadic
#3A3CA4 #A43A3C #3CA43A
tetradic
#3A3CA4 #A43A71 #A4A23A #3AA46D
square
#3A3CA4 #A43A71 #A4A23A #3AA46D
split-complementary
#3A3CA4 #A46D3A #71A43A
monochromatic
#1A1B4A #2A2B77 #3A3CA4 #5759C4 #8586D4

Accessibility & contrast

On white

8.89
#3A3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CA4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CA4#FFFFFF#000000##FFFFFF
##3A3CA41.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a3ca4;
/* rgb */ color: rgb(58, 60, 164);
/* oklch */ color: oklch(42.2% 0.164 276.0);
Tailwind
colors: {
  custom: {
    50: '#7d72c0',
    500: '#3a3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ca4;
$custom-light: #7d72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ca4",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 238.868,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.16364,
    "h": 276
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#3A3CA4
secondary
#BEBC7C
accent
#D550D7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3A3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

#3A3CA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva