#2C2E40#2C2E40

#2C2E40 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.7% C 0.032 H 279.4°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#2C2E40
RGBrgb(44, 46, 64)
HSLhsl(234, 19%, 21%)
HSVhsv(234, 31%, 25%)
CMYKcmyk(31.2%, 28.1%, 0%, 74.9%)
CIE-LABlab(19.47, 4.07, -11.62)
CIE-LCHlch(19.47, 12.31, 289.31°)
OKLaboklab(30.73% 0.0053 -0.032)
OKLCHoklch(30.73% 0.032 279.4)
XYZxyz(2.9409, 2.8596, 5.2465)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E40 #403E2C
analogous
#2C3840 #2C2E40 #342C40
triadic
#2C2E40 #402C2E #2E402C
tetradic
#2C2E40 #402C38 #403E2C #2C4034
square
#2C2E40 #402C38 #403E2C #2C4034
split-complementary
#2C2E40 #40342C #38402C
monochromatic
#0C0D12 #13141C #2C2E40 #454864 #5E6289

Accessibility & contrast

On white

13.36
#2C2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2C2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E40
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E40#FFFFFF#000000##FFFFFF
##2C2E401.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#282E40
Tritanopia (blue-blind)
#273134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c2e40;
/* rgb */ color: rgb(44, 46, 64);
/* oklch */ color: oklch(30.7% 0.032 279.4);
Tailwind
colors: {
  custom: {
    50: '#656674',
    500: '#2c2e40',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e40;
$custom-light: #656674;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e40",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 234,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30729,
    "c": 0.03248,
    "h": 279.4
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#2C2E40
secondary
#716E57
accent
#B36DBB
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2C2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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