#2C2A42#2C2A42

#2C2A42 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.9% C 0.043 H 287.3°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#2C2A42
RGBrgb(44, 42, 66)
HSLhsl(245, 22%, 21%)
HSVhsv(245, 36%, 26%)
CMYKcmyk(33.3%, 36.4%, 0%, 74.1%)
CIE-LABlab(18.30, 7.50, -14.81)
CIE-LCHlch(18.30, 16.60, 296.86°)
OKLaboklab(29.85% 0.0128 -0.0411)
OKLCHoklch(29.85% 0.043 287.3)
XYZxyz(2.8498, 2.5847, 5.5019)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A42 #40422A
analogous
#2A3442 #2C2A42 #382A42
triadic
#2C2A42 #422C2A #2A422C
tetradic
#2C2A42 #422A34 #40422A #2A4238
square
#2C2A42 #422A34 #40422A #2A4238
split-complementary
#2C2A42 #42382A #34422A
monochromatic
#0C0C13 #13121D #2C2A42 #454267 #5E5A8D

Accessibility & contrast

On white

13.84
#2C2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2C2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A42
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A42#FFFFFF#000000##FFFFFF
##2C2A421.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#232C41
Tritanopia (blue-blind)
#272E33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2a42;
/* rgb */ color: rgb(44, 42, 66);
/* oklch */ color: oklch(29.9% 0.043 287.3);
Tailwind
colors: {
  custom: {
    50: '#666376',
    500: '#2c2a42',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a42;
$custom-light: #666376;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a42",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 245,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29854,
    "c": 0.04309,
    "h": 287.3
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#2C2A42
secondary
#717354
accent
#BF69B8
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2C2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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