#2C2C4A#2C2C4A

#2C2C4A is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.8% C 0.053 H 282.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#2C2C4A
RGBrgb(44, 44, 74)
HSLhsl(240, 25%, 23%)
HSVhsv(240, 41%, 29%)
CMYKcmyk(40.5%, 40.5%, 0%, 71%)
CIE-LABlab(19.35, 8.64, -18.61)
CIE-LCHlch(19.35, 20.52, 294.90°)
OKLaboklab(30.81% 0.0119 -0.0521)
OKLCHoklch(30.81% 0.053 282.8)
XYZxyz(3.1751, 2.8311, 6.8564)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C4A #4A4A2C
analogous
#2C3B4A #2C2C4A #3B2C4A
triadic
#2C2C4A #4A2C2C #2C4A2C
tetradic
#2C2C4A #4A2C3B #4A4A2C #2C4A3B
square
#2C2C4A #4A2C3B #4A4A2C #2C4A3B
split-complementary
#2C2C4A #4A3B2C #3B4A2C
monochromatic
#0B0B13 #151524 #2C2C4A #434370 #5A5A97

Accessibility & contrast

On white

13.41
#2C2C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C4A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C4A#FFFFFF#000000##FFFFFF
##2C2C4A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304B
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#243237
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c2c4a;
/* rgb */ color: rgb(44, 44, 74);
/* oklch */ color: oklch(30.8% 0.053 282.8);
Tailwind
colors: {
  custom: {
    50: '#66657c',
    500: '#2c2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c4a;
$custom-light: #66657c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c4a",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 240,
    "s": 25.424,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30808,
    "c": 0.05346,
    "h": 282.8
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#2C2C4A
secondary
#7C7C56
accent
#C266C2
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060509
muted
#7A7A7B

Preview Lab

Preview with #2C2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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