#3A409C#3A409C

#3A409C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.147 H 275.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3A409C
RGBrgb(58, 64, 156)
HSLhsl(236, 46%, 42%)
HSVhsv(236, 63%, 61%)
CMYKcmyk(62.8%, 59%, 0%, 38.8%)
CIE-LABlab(31.73, 26.94, -51.08)
CIE-LCHlch(31.73, 57.74, 297.81°)
OKLaboklab(42.22% 0.0136 -0.1468)
OKLCHoklch(42.22% 0.147 275.3)
XYZxyz(9.5771, 6.9659, 32.2859)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A409C #9C963A
analogous
#3A719C #3A409C #653A9C
triadic
#3A409C #9C3A40 #409C3A
tetradic
#3A409C #9C3A71 #9C963A #3A9C65
square
#3A409C #9C3A71 #9C963A #3A9C65
split-complementary
#3A409C #9C653A #719C3A
monochromatic
#191B43 #292E6F #3A409C #545ABF #8085D0

Accessibility & contrast

On white

8.77
#3A409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A409C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A409C#FFFFFF#000000##FFFFFF
##3A409C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a409c;
/* rgb */ color: rgb(58, 64, 156);
/* oklch */ color: oklch(42.2% 0.147 275.3);
Tailwind
colors: {
  custom: {
    50: '#7b74ba',
    500: '#3a409c',
    950: '#000000',
  },
}
SCSS
$custom: #3a409c;
$custom-light: #7b74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a409c",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 236.327,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42217,
    "c": 0.14745,
    "h": 275.3
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#3A409C
secondary
#BAB678
accent
#CD52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A409C

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

Preview Lab → · Contrast checker → · Palette generator →

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