#3A404E#3A404E

#3A404E is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.2% C 0.025 H 266.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3A404E
RGBrgb(58, 64, 78)
HSLhsl(222, 15%, 27%)
HSVhsv(222, 26%, 31%)
CMYKcmyk(25.6%, 17.9%, 0%, 69.4%)
CIE-LABlab(27.06, 1.14, -9.28)
CIE-LCHlch(27.06, 9.35, 277.01°)
OKLaboklab(37.16% -0.0014 -0.0254)
OKLCHoklch(37.16% 0.025 266.9)
XYZxyz(4.9531, 5.1163, 7.9328)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A404E #4E483A
analogous
#3A4A4E #3A404E #3E3A4E
triadic
#3A404E #4E3A40 #404E3A
tetradic
#3A404E #4E3A4A #4E483A #3A4E3E
square
#3A404E #4E3A4A #4E483A #3A4E3E
split-complementary
#3A404E #4E3E3A #4A4E3A
monochromatic
#0D0E12 #20232B #3A404E #545D71 #6F7A94

Accessibility & contrast

On white

10.38
#3A404E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3A404E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A404E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A404E#FFFFFF#000000##FFFFFF
##3A404E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#3A3F4E
Tritanopia (blue-blind)
#354345
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a404e;
/* rgb */ color: rgb(58, 64, 78);
/* oklch */ color: oklch(37.2% 0.025 266.9);
Tailwind
colors: {
  custom: {
    50: '#70747f',
    500: '#3a404e',
    950: '#000000',
  },
}
SCSS
$custom: #3a404e;
$custom-light: #70747f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a404e",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 222,
    "s": 14.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.02541,
    "h": 266.9
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#3A404E
secondary
#7E7766
accent
#A270B7
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #3A404E

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

Preview Lab → · Contrast checker → · Palette generator →

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