#3A419F#3A419F

#3A419F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.150 H 274.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3A419F
RGBrgb(58, 65, 159)
HSLhsl(236, 47%, 43%)
HSVhsv(236, 64%, 62%)
CMYKcmyk(63.5%, 59.1%, 0%, 37.6%)
CIE-LABlab(32.22, 27.34, -52.10)
CIE-LCHlch(32.22, 58.84, 297.69°)
OKLaboklab(42.65% 0.0127 -0.1498)
OKLCHoklch(42.65% 0.15 274.8)
XYZxyz(9.8912, 7.1825, 33.6593)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A419F #9F983A
analogous
#3A739F #3A419F #663A9F
triadic
#3A419F #9F3A41 #419F3A
tetradic
#3A419F #9F3A73 #9F983A #3A9F66
square
#3A419F #9F3A73 #9F983A #3A9F66
split-complementary
#3A419F #9F663A #739F3A
monochromatic
#191C45 #2A2F72 #3A419F #555DC1 #8288D1

Accessibility & contrast

On white

8.62
#3A419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A419F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A419F#FFFFFF#000000##FFFFFF
##3A419F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a419f;
/* rgb */ color: rgb(58, 65, 159);
/* oklch */ color: oklch(42.7% 0.150 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b75bc',
    500: '#3a419f',
    950: '#000000',
  },
}
SCSS
$custom: #3a419f;
$custom-light: #7b75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a419f",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 235.842,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.15034,
    "h": 274.8
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#3A419F
secondary
#BBB77A
accent
#CD52D6
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A419F

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

Preview Lab → · Contrast checker → · Palette generator →

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