#3A409D#3A409D

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

Color values

HEX#3A409D
RGBrgb(58, 64, 157)
HSLhsl(236, 46%, 42%)
HSVhsv(236, 63%, 62%)
CMYKcmyk(63.1%, 59.2%, 0%, 38.4%)
CIE-LABlab(31.81, 27.29, -51.56)
CIE-LCHlch(31.81, 58.33, 297.89°)
OKLaboklab(42.3% 0.0136 -0.1482)
OKLCHoklch(42.3% 0.149 275.2)
XYZxyz(9.6621, 6.9999, 32.7337)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A409D #9D973A
analogous
#3A719D #3A409D #663A9D
triadic
#3A409D #9D3A40 #409D3A
tetradic
#3A409D #9D3A71 #9D973A #3A9D66
square
#3A409D #9D3A71 #9D973A #3A9D66
split-complementary
#3A409D #9D663A #719D3A
monochromatic
#191C44 #292E70 #3A409D #545BC0 #8186D0

Accessibility & contrast

On white

8.75
#3A409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A409D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A409D#FFFFFF#000000##FFFFFF
##3A409D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a409d;
/* rgb */ color: rgb(58, 64, 157);
/* oklch */ color: oklch(42.3% 0.149 275.2);
Tailwind
colors: {
  custom: {
    50: '#7b74bb',
    500: '#3a409d',
    950: '#000000',
  },
}
SCSS
$custom: #3a409d;
$custom-light: #7b74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a409d",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 236.364,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42299,
    "c": 0.14885,
    "h": 275.2
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A409D

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

Preview Lab → · Contrast checker → · Palette generator →

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