#2C3545#2C3545

#2C3545 is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.8% C 0.031 H 261.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2C3545
RGBrgb(44, 53, 69)
HSLhsl(218, 22%, 22%)
HSVhsv(218, 36%, 27%)
CMYKcmyk(36.2%, 23.2%, 0%, 72.9%)
CIE-LABlab(21.98, 0.79, -11.16)
CIE-LCHlch(21.98, 11.18, 274.04°)
OKLaboklab(32.77% -0.0044 -0.0308)
OKLCHoklch(32.77% 0.031 261.8)
XYZxyz(3.3857, 3.5112, 6.1284)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3545 #453C2C
analogous
#2C4245 #2C3545 #302C45
triadic
#2C3545 #452C35 #35452C
tetradic
#2C3545 #452C42 #453C2C #2C4530
square
#2C3545 #452C42 #453C2C #2C4530
split-complementary
#2C3545 #45302C #42452C
monochromatic
#0C0E13 #141820 #2C3545 #44526A #5C6E90

Accessibility & contrast

On white

12.34
#2C3545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C3545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3545
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3545#FFFFFF#000000##FFFFFF
##2C35451.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#2D3445
Tritanopia (blue-blind)
#25383A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c3545;
/* rgb */ color: rgb(44, 53, 69);
/* oklch */ color: oklch(32.8% 0.031 261.8);
Tailwind
colors: {
  custom: {
    50: '#666c78',
    500: '#2c3545',
    950: '#000000',
  },
}
SCSS
$custom: #2c3545;
$custom-light: #666c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3545",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 69
  },
  "hsl": {
    "h": 218.4,
    "s": 22.124,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32765,
    "c": 0.03109,
    "h": 261.8
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#2C3545
secondary
#766B57
accent
#A069BF
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2C3545

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

Preview Lab → · Contrast checker → · Palette generator →

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