#3A409B#3A409B

#3A409B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.146 H 275.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3A409B
RGBrgb(58, 64, 155)
HSLhsl(236, 46%, 42%)
HSVhsv(236, 63%, 61%)
CMYKcmyk(62.6%, 58.7%, 0%, 39.2%)
CIE-LABlab(31.65, 26.59, -50.59)
CIE-LCHlch(31.65, 57.15, 297.72°)
OKLaboklab(42.14% 0.0136 -0.1454)
OKLCHoklch(42.14% 0.146 275.3)
XYZxyz(9.4928, 6.9321, 31.8418)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A409B #9B953A
analogous
#3A719B #3A409B #653A9B
triadic
#3A409B #9B3A40 #409B3A
tetradic
#3A409B #9B3A71 #9B953A #3A9B65
square
#3A409B #9B3A71 #9B953A #3A9B65
split-complementary
#3A409B #9B653A #719B3A
monochromatic
#191B42 #292E6E #3A409B #535ABF #8085CF

Accessibility & contrast

On white

8.80
#3A409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3A409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A409B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A409B#FFFFFF#000000##FFFFFF
##3A409B1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a409b;
/* rgb */ color: rgb(58, 64, 155);
/* oklch */ color: oklch(42.1% 0.146 275.3);
Tailwind
colors: {
  custom: {
    50: '#7b74b9',
    500: '#3a409b',
    950: '#000000',
  },
}
SCSS
$custom: #3a409b;
$custom-light: #7b74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a409b",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 236.289,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.14603,
    "h": 275.3
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#3A409B
secondary
#B9B578
accent
#CD53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A409B

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

Preview Lab → · Contrast checker → · Palette generator →

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