#2A3442#2A3442

#2A3442 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.2% C 0.029 H 256.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2A3442
RGBrgb(42, 52, 66)
HSLhsl(215, 22%, 21%)
HSVhsv(215, 36%, 26%)
CMYKcmyk(36.4%, 21.2%, 0%, 74.1%)
CIE-LABlab(21.36, -0.17, -10.10)
CIE-LCHlch(21.36, 10.10, 269.04°)
OKLaboklab(32.19% -0.0065 -0.0278)
OKLCHoklch(32.19% 0.029 256.8)
XYZxyz(3.1659, 3.3414, 5.6314)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3442 #42382A
analogous
#2A4042 #2A3442 #2C2A42
triadic
#2A3442 #422A34 #34422A
tetradic
#2A3442 #422A40 #42382A #2A422C
square
#2A3442 #422A40 #42382A #2A422C
split-complementary
#2A3442 #422C2A #40422A
monochromatic
#0C0F13 #12171D #2A3442 #425167 #5A6F8D

Accessibility & contrast

On white

12.59
#2A3442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A3442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3442
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3442#FFFFFF#000000##FFFFFF
##2A34421.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#2C3242
Tritanopia (blue-blind)
#233739
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a3442;
/* rgb */ color: rgb(42, 52, 66);
/* oklch */ color: oklch(32.2% 0.029 256.8);
Tailwind
colors: {
  custom: {
    50: '#646b76',
    500: '#2a3442',
    950: '#000000',
  },
}
SCSS
$custom: #2a3442;
$custom-light: #646b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3442",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 66
  },
  "hsl": {
    "h": 215,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32192,
    "c": 0.02855,
    "h": 256.8
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#2A3442
secondary
#736654
accent
#9B69BF
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2A3442

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

Preview Lab → · Contrast checker → · Palette generator →

#2A3442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva