#3A419A#3A419A

#3A419A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.143 H 275.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3A419A
RGBrgb(58, 65, 154)
HSLhsl(236, 45%, 42%)
HSVhsv(236, 62%, 60%)
CMYKcmyk(62.3%, 57.8%, 0%, 39.6%)
CIE-LABlab(31.84, 25.58, -49.69)
CIE-LCHlch(31.84, 55.89, 297.24°)
OKLaboklab(42.25% 0.0126 -0.1427)
OKLCHoklch(42.25% 0.143 275)
XYZxyz(9.4660, 7.0125, 31.4203)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A419A #9A933A
analogous
#3A719A #3A419A #633A9A
triadic
#3A419A #9A3A41 #419A3A
tetradic
#3A419A #9A3A71 #9A933A #3A9A63
square
#3A419A #9A3A71 #9A933A #3A9A63
split-complementary
#3A419A #9A633A #719A3A
monochromatic
#191B41 #292E6E #3A419A #535BBE #7F85CF

Accessibility & contrast

On white

8.74
#3A419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A419A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A419A#FFFFFF#000000##FFFFFF
##3A419A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a419a;
/* rgb */ color: rgb(58, 65, 154);
/* oklch */ color: oklch(42.2% 0.143 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a75b8',
    500: '#3a419a',
    950: '#000000',
  },
}
SCSS
$custom: #3a419a;
$custom-light: #7a75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a419a",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 235.625,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.14329,
    "h": 275
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#3A419A
secondary
#B9B477
accent
#CB53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A419A

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

Preview Lab → · Contrast checker → · Palette generator →

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