#2C3042#2C3042

#2C3042 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.3% C 0.033 H 274.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2C3042
RGBrgb(44, 48, 66)
HSLhsl(229, 20%, 22%)
HSVhsv(229, 33%, 26%)
CMYKcmyk(33.3%, 27.3%, 0%, 74.1%)
CIE-LABlab(20.21, 3.29, -11.84)
CIE-LCHlch(20.21, 12.29, 285.54°)
OKLaboklab(31.34% 0.0027 -0.0327)
OKLCHoklch(31.34% 0.033 274.7)
XYZxyz(3.0788, 3.0426, 5.5783)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3042 #423E2C
analogous
#2C3B42 #2C3042 #332C42
triadic
#2C3042 #422C30 #30422C
tetradic
#2C3042 #422C3B #423E2C #2C4233
square
#2C3042 #422C3B #423E2C #2C4233
split-complementary
#2C3042 #42332C #3B422C
monochromatic
#0C0D12 #14151D #2C3042 #444B67 #5D658B

Accessibility & contrast

On white

13.05
#2C3042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C3042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3042
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3042#FFFFFF#000000##FFFFFF
##2C30421.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3243
Deuteranopia (green-blind)
#293042
Tritanopia (blue-blind)
#263336
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c3042;
/* rgb */ color: rgb(44, 48, 66);
/* oklch */ color: oklch(31.3% 0.033 274.7);
Tailwind
colors: {
  custom: {
    50: '#656876',
    500: '#2c3042',
    950: '#000000',
  },
}
SCSS
$custom: #2c3042;
$custom-light: #656876;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3042",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 66
  },
  "hsl": {
    "h": 229.091,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31337,
    "c": 0.0328,
    "h": 274.7
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#2C3042
secondary
#736E57
accent
#AE6BBD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2C3042

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

Preview Lab → · Contrast checker → · Palette generator →

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