#3A409E#3A409E

#3A409E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.150 H 275.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3A409E
RGBrgb(58, 64, 158)
HSLhsl(236, 46%, 42%)
HSVhsv(236, 63%, 62%)
CMYKcmyk(63.3%, 59.5%, 0%, 38%)
CIE-LABlab(31.88, 27.64, -52.03)
CIE-LCHlch(31.88, 58.92, 297.98°)
OKLaboklab(42.38% 0.0136 -0.1496)
OKLCHoklch(42.38% 0.15 275.2)
XYZxyz(9.7479, 7.0342, 33.1852)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A409E #9E983A
analogous
#3A729E #3A409E #663A9E
triadic
#3A409E #9E3A40 #409E3A
tetradic
#3A409E #9E3A72 #9E983A #3A9E66
square
#3A409E #9E3A72 #9E983A #3A9E66
split-complementary
#3A409E #9E663A #729E3A
monochromatic
#191C44 #2A2E71 #3A409E #555BC0 #8186D1

Accessibility & contrast

On white

8.72
#3A409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3A409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A409E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A409E#FFFFFF#000000##FFFFFF
##3A409E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a409e;
/* rgb */ color: rgb(58, 64, 158);
/* oklch */ color: oklch(42.4% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#7b74bb',
    500: '#3a409e',
    950: '#000000',
  },
}
SCSS
$custom: #3a409e;
$custom-light: #7b74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a409e",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 236.4,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.15026,
    "h": 275.2
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#3A409E
secondary
#BBB779
accent
#CE52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A409E

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

Preview Lab → · Contrast checker → · Palette generator →

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