#2C3040#2C3040

#2C3040 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.029 H 273.7°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2C3040
RGBrgb(44, 48, 64)
HSLhsl(228, 19%, 21%)
HSVhsv(228, 31%, 25%)
CMYKcmyk(31.2%, 25%, 0%, 74.9%)
CIE-LABlab(20.12, 2.68, -10.62)
CIE-LCHlch(20.12, 10.96, 284.17°)
OKLaboklab(31.23% 0.0019 -0.0292)
OKLCHoklch(31.23% 0.029 273.7)
XYZxyz(3.0208, 3.0195, 5.2731)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3040 #403C2C
analogous
#2C3A40 #2C3040 #322C40
triadic
#2C3040 #402C30 #30402C
tetradic
#2C3040 #402C3A #403C2C #2C4032
square
#2C3040 #402C3A #403C2C #2C4032
split-complementary
#2C3040 #40322C #3A402C
monochromatic
#0C0E12 #13151C #2C3040 #454B64 #5E6689

Accessibility & contrast

On white

13.09
#2C3040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C3040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3040
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3040#FFFFFF#000000##FFFFFF
##2C30401.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3141
Deuteranopia (green-blind)
#2A3040
Tritanopia (blue-blind)
#273335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c3040;
/* rgb */ color: rgb(44, 48, 64);
/* oklch */ color: oklch(31.2% 0.029 273.7);
Tailwind
colors: {
  custom: {
    50: '#656874',
    500: '#2c3040',
    950: '#000000',
  },
}
SCSS
$custom: #2c3040;
$custom-light: #656874;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3040",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 228,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31234,
    "c": 0.02929,
    "h": 273.7
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#2C3040
secondary
#716C57
accent
#AB6DBB
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2C3040

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

Preview Lab → · Contrast checker → · Palette generator →

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