#2C2842#2C2842

#2C2842 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.4% C 0.047 H 290.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#2C2842
RGBrgb(44, 40, 66)
HSLhsl(249, 25%, 21%)
HSVhsv(249, 39%, 26%)
CMYKcmyk(33.3%, 39.4%, 0%, 74.1%)
CIE-LABlab(17.67, 8.92, -15.78)
CIE-LCHlch(17.67, 18.12, 299.48°)
OKLaboklab(29.38% 0.0162 -0.0439)
OKLCHoklch(29.38% 0.047 290.3)
XYZxyz(2.7806, 2.4463, 5.4789)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2842 #3E4228
analogous
#283142 #2C2842 #392842
triadic
#2C2842 #422C28 #28422C
tetradic
#2C2842 #422831 #3E4228 #284239
square
#2C2842 #422831 #3E4228 #284239
split-complementary
#2C2842 #423928 #314228
monochromatic
#0D0C13 #13111C #2C2842 #453F68 #5F568E

Accessibility & contrast

On white

14.10
#2C2842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2C2842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2842
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2842#FFFFFF#000000##FFFFFF
##2C28421.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#212B41
Tritanopia (blue-blind)
#272D32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2c2842;
/* rgb */ color: rgb(44, 40, 66);
/* oklch */ color: oklch(29.4% 0.047 290.3);
Tailwind
colors: {
  custom: {
    50: '#666176',
    500: '#2c2842',
    950: '#000000',
  },
}
SCSS
$custom: #2c2842;
$custom-light: #666176;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2842",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 249.231,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29375,
    "c": 0.04683,
    "h": 290.3
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#2C2842
secondary
#6F7452
accent
#C167B3
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2C2842

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

Preview Lab → · Contrast checker → · Palette generator →

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