#2C2C42#2C2C42

#2C2C42 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.3% C 0.039 H 283.8°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#2C2C42
RGBrgb(44, 44, 66)
HSLhsl(240, 20%, 22%)
HSVhsv(240, 33%, 26%)
CMYKcmyk(33.3%, 33.3%, 0%, 74.1%)
CIE-LABlab(18.93, 6.09, -13.83)
CIE-LCHlch(18.93, 15.11, 293.76°)
OKLaboklab(30.34% 0.0094 -0.0383)
OKLCHoklch(30.34% 0.039 283.8)
XYZxyz(2.9225, 2.7301, 5.5262)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C42 #42422C
analogous
#2C3742 #2C2C42 #372C42
triadic
#2C2C42 #422C2C #2C422C
tetradic
#2C2C42 #422C37 #42422C #2C4237
square
#2C2C42 #422C37 #42422C #2C4237
split-complementary
#2C2C42 #42372C #37422C
monochromatic
#0C0C12 #14141D #2C2C42 #444467 #5D5D8B

Accessibility & contrast

On white

13.58
#2C2C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2C2C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C42
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C42#FFFFFF#000000##FFFFFF
##2C2C421.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#252D41
Tritanopia (blue-blind)
#273034
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c2c42;
/* rgb */ color: rgb(44, 44, 66);
/* oklch */ color: oklch(30.3% 0.039 283.8);
Tailwind
colors: {
  custom: {
    50: '#666576',
    500: '#2c2c42',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c42;
$custom-light: #666576;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c42",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 240,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.03948,
    "h": 283.8
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#2C2C42
secondary
#737357
accent
#BD6BBD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060508
muted
#7A7A7B

Preview Lab

Preview with #2C2C42

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

Preview Lab → · Contrast checker → · Palette generator →

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