#2C2E42#2C2E42

#2C2E42 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.8% C 0.036 H 279.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2C2E42
RGBrgb(44, 46, 66)
HSLhsl(235, 20%, 22%)
HSVhsv(235, 33%, 26%)
CMYKcmyk(33.3%, 30.3%, 0%, 74.1%)
CIE-LABlab(19.57, 4.68, -12.84)
CIE-LCHlch(19.57, 13.67, 290.04°)
OKLaboklab(30.84% 0.006 -0.0355)
OKLCHoklch(30.84% 0.036 279.6)
XYZxyz(2.9988, 2.8827, 5.5516)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E42 #42402C
analogous
#2C3942 #2C2E42 #352C42
triadic
#2C2E42 #422C2E #2E422C
tetradic
#2C2E42 #422C39 #42402C #2C4235
square
#2C2E42 #422C39 #42402C #2C4235
split-complementary
#2C2E42 #42352C #39422C
monochromatic
#0C0D12 #14141D #2C2E42 #444867 #5D618B

Accessibility & contrast

On white

13.32
#2C2E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C2E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E42
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E42#FFFFFF#000000##FFFFFF
##2C2E421.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283043
Deuteranopia (green-blind)
#272F41
Tritanopia (blue-blind)
#263235
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c2e42;
/* rgb */ color: rgb(44, 46, 66);
/* oklch */ color: oklch(30.8% 0.036 279.6);
Tailwind
colors: {
  custom: {
    50: '#656676',
    500: '#2c2e42',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e42;
$custom-light: #656676;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e42",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 234.545,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30835,
    "c": 0.03603,
    "h": 279.6
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#2C2E42
secondary
#737057
accent
#B56BBD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2C2E42

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

Preview Lab → · Contrast checker → · Palette generator →

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