#3A404F#3A404F

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

Color values

HEX#3A404F
RGBrgb(58, 64, 79)
HSLhsl(223, 15%, 27%)
HSVhsv(223, 27%, 31%)
CMYKcmyk(26.6%, 19%, 0%, 69%)
CIE-LABlab(27.10, 1.42, -9.88)
CIE-LCHlch(27.10, 9.98, 278.18°)
OKLaboklab(37.21% -0.001 -0.027)
OKLCHoklch(37.21% 0.027 267.9)
XYZxyz(4.9892, 5.1307, 8.1231)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A404F #4F493A
analogous
#3A4B4F #3A404F #3F3A4F
triadic
#3A404F #4F3A40 #404F3A
tetradic
#3A404F #4F3A4B #4F493A #3A4F3F
square
#3A404F #4F3A4B #4F493A #3A4F3F
split-complementary
#3A404F #4F3F3A #4B4F3A
monochromatic
#0D0E12 #20232C #3A404F #545D72 #6E7995

Accessibility & contrast

On white

10.36
#3A404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3A404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A404F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A404F#FFFFFF#000000##FFFFFF
##3A404F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a404f;
/* rgb */ color: rgb(58, 64, 79);
/* oklch */ color: oklch(37.2% 0.027 267.9);
Tailwind
colors: {
  custom: {
    50: '#707480',
    500: '#3a404f',
    950: '#000000',
  },
}
SCSS
$custom: #3a404f;
$custom-light: #707480;
$custom-dark: #000000;
JSON
{
  "hex": "#3a404f",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 222.857,
    "s": 15.328,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37205,
    "c": 0.02704,
    "h": 267.9
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#3A404F
secondary
#7F7866
accent
#A370B8
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #3A404F

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

Preview Lab → · Contrast checker → · Palette generator →

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