#3A3CA9#3A3CA9

#3A3CA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.170 H 275.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3A3CA9
RGBrgb(58, 60, 169)
HSLhsl(239, 49%, 45%)
HSVhsv(239, 66%, 66%)
CMYKcmyk(65.7%, 64.5%, 0%, 33.7%)
CIE-LABlab(31.80, 34.05, -58.80)
CIE-LCHlch(31.80, 67.95, 300.07°)
OKLaboklab(42.6% 0.0167 -0.1695)
OKLCHoklch(42.6% 0.17 275.6)
XYZxyz(10.5199, 6.9949, 38.3242)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CA9 #A9A73A
analogous
#3A74A9 #3A3CA9 #703AA9
triadic
#3A3CA9 #A93A3C #3CA93A
tetradic
#3A3CA9 #A93A74 #A9A73A #3AA970
square
#3A3CA9 #A93A74 #A9A73A #3AA970
split-complementary
#3A3CA9 #A9703A #74A93A
monochromatic
#1B1C4E #2A2C7B #3A3CA9 #5A5CC6 #8789D6

Accessibility & contrast

On white

8.75
#3A3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A3CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CA9
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CA9#FFFFFF#000000##FFFFFF
##3A3CA91.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a3ca9;
/* rgb */ color: rgb(58, 60, 169);
/* oklch */ color: oklch(42.6% 0.170 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e72c3',
    500: '#3a3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ca9;
$custom-light: #7e72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ca9",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 238.919,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.17037,
    "h": 275.6
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#3A3CA9
secondary
#C0BF7F
accent
#D64FD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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