#2A2C42#2A2C42

#2A2C42 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.2% C 0.040 H 279.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#2A2C42
RGBrgb(42, 44, 66)
HSLhsl(235, 22%, 21%)
HSVhsv(235, 36%, 26%)
CMYKcmyk(36.4%, 33.3%, 0%, 74.1%)
CIE-LABlab(18.74, 5.37, -14.13)
CIE-LCHlch(18.74, 15.12, 290.82°)
OKLaboklab(30.15% 0.0067 -0.0392)
OKLCHoklch(30.15% 0.04 279.7)
XYZxyz(2.8386, 2.6869, 5.5223)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C42 #42402A
analogous
#2A3842 #2A2C42 #342A42
triadic
#2A2C42 #422A2C #2C422A
tetradic
#2A2C42 #422A38 #42402A #2A4234
square
#2A2C42 #422A38 #42402A #2A4234
split-complementary
#2A2C42 #42342A #38422A
monochromatic
#0C0C13 #12131D #2A2C42 #424567 #5A5E8D

Accessibility & contrast

On white

13.66
#2A2C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2A2C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C42
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C42#FFFFFF#000000##FFFFFF
##2A2C421.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E43
Deuteranopia (green-blind)
#242D41
Tritanopia (blue-blind)
#243034
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2c42;
/* rgb */ color: rgb(42, 44, 66);
/* oklch */ color: oklch(30.2% 0.040 279.7);
Tailwind
colors: {
  custom: {
    50: '#646576',
    500: '#2a2c42',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c42;
$custom-light: #646576;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c42",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 235,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30151,
    "c": 0.03981,
    "h": 279.7
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#2A2C42
secondary
#737154
accent
#B869BF
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050508
muted
#7A7A7B

Preview Lab

Preview with #2A2C42

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

Preview Lab → · Contrast checker → · Palette generator →

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