#3A419C#3A419C

#3A419C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.146 H 275.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3A419C
RGBrgb(58, 65, 156)
HSLhsl(236, 46%, 42%)
HSVhsv(236, 63%, 61%)
CMYKcmyk(62.8%, 58.3%, 0%, 38.8%)
CIE-LABlab(31.99, 26.28, -50.66)
CIE-LCHlch(31.99, 57.07, 297.42°)
OKLaboklab(42.41% 0.0126 -0.1456)
OKLCHoklch(42.41% 0.146 275)
XYZxyz(9.6340, 7.0797, 32.3049)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A419C #9C953A
analogous
#3A729C #3A419C #643A9C
triadic
#3A419C #9C3A41 #419C3A
tetradic
#3A419C #9C3A72 #9C953A #3A9C64
square
#3A419C #9C3A72 #9C953A #3A9C64
split-complementary
#3A419C #9C643A #729C3A
monochromatic
#191C43 #292E6F #3A419C #545CBF #8086D0

Accessibility & contrast

On white

8.69
#3A419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A419C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A419C#FFFFFF#000000##FFFFFF
##3A419C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a419c;
/* rgb */ color: rgb(58, 65, 156);
/* oklch */ color: oklch(42.4% 0.146 275.0);
Tailwind
colors: {
  custom: {
    50: '#7b75ba',
    500: '#3a419c',
    950: '#000000',
  },
}
SCSS
$custom: #3a419c;
$custom-light: #7b75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a419c",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 235.714,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.14612,
    "h": 275
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#3A419C
secondary
#BAB578
accent
#CC52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A419C

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

Preview Lab → · Contrast checker → · Palette generator →

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