#3A404A#3A404A

#3A404A is a dark, near-neutral blue. Relative luminance 0.051; OKLCH L 37.0% C 0.019 H 260.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3A404A
RGBrgb(58, 64, 74)
HSLhsl(218, 12%, 26%)
HSVhsv(218, 22%, 29%)
CMYKcmyk(21.6%, 13.5%, 0%, 71%)
CIE-LABlab(26.91, 0.05, -6.90)
CIE-LCHlch(26.91, 6.90, 270.43°)
OKLaboklab(36.99% -0.0031 -0.0187)
OKLCHoklch(36.99% 0.019 260.7)
XYZxyz(4.8140, 5.0606, 7.2004)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A404A #4A443A
analogous
#3A484A #3A404A #3C3A4A
triadic
#3A404A #4A3A40 #404A3A
tetradic
#3A404A #4A3A48 #4A443A #3A4A3C
square
#3A404A #4A3A48 #4A443A #3A4A3C
split-complementary
#3A404A #4A3C3A #484A3A
monochromatic
#0D0F11 #1F2228 #3A404A #555E6C #707B8F

Accessibility & contrast

On white

10.44
#3A404A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3A404A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A404A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A404A#FFFFFF#000000##FFFFFF
##3A404A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D404A
Deuteranopia (green-blind)
#3B3F4A
Tritanopia (blue-blind)
#364243
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a404a;
/* rgb */ color: rgb(58, 64, 74);
/* oklch */ color: oklch(37.0% 0.019 260.7);
Tailwind
colors: {
  custom: {
    50: '#70747c',
    500: '#3a404a',
    950: '#000000',
  },
}
SCSS
$custom: #3a404a;
$custom-light: #70747c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a404a",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 74
  },
  "hsl": {
    "h": 217.5,
    "s": 12.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.01899,
    "h": 260.7
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#3A404A
secondary
#797266
accent
#9C73B5
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#070809
muted
#7A7B7B

Preview Lab

Preview with #3A404A

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

Preview Lab → · Contrast checker → · Palette generator →

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