#3A409F#3A409F

#3A409F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.152 H 275.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3A409F
RGBrgb(58, 64, 159)
HSLhsl(236, 47%, 43%)
HSVhsv(236, 64%, 62%)
CMYKcmyk(63.5%, 59.7%, 0%, 37.6%)
CIE-LABlab(31.96, 28.00, -52.51)
CIE-LCHlch(31.96, 59.51, 298.06°)
OKLaboklab(42.46% 0.0136 -0.151)
OKLCHoklch(42.46% 0.152 275.1)
XYZxyz(9.8343, 7.0687, 33.6403)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A409F #9F993A
analogous
#3A729F #3A409F #673A9F
triadic
#3A409F #9F3A40 #409F3A
tetradic
#3A409F #9F3A72 #9F993A #3A9F67
square
#3A409F #9F3A72 #9F993A #3A9F67
split-complementary
#3A409F #9F673A #729F3A
monochromatic
#191C45 #2A2E72 #3A409F #555CC1 #8287D1

Accessibility & contrast

On white

8.70
#3A409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A409F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A409F#FFFFFF#000000##FFFFFF
##3A409F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a409f;
/* rgb */ color: rgb(58, 64, 159);
/* oklch */ color: oklch(42.5% 0.152 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b74bc',
    500: '#3a409f',
    950: '#000000',
  },
}
SCSS
$custom: #3a409f;
$custom-light: #7b74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a409f",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 236.436,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.15165,
    "h": 275.1
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A409F

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

Preview Lab → · Contrast checker → · Palette generator →

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