#2C313F#2C313F

#2C313F is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.4% C 0.026 H 269.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#2C313F
RGBrgb(44, 49, 63)
HSLhsl(224, 18%, 21%)
HSVhsv(224, 30%, 25%)
CMYKcmyk(30.2%, 22.2%, 0%, 75.3%)
CIE-LABlab(20.40, 1.69, -9.51)
CIE-LCHlch(20.40, 9.66, 280.10°)
OKLaboklab(31.44% -0.0002 -0.0261)
OKLCHoklch(31.44% 0.026 269.5)
XYZxyz(3.0340, 3.0909, 5.1384)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C313F #3F3A2C
analogous
#2C3A3F #2C313F #302C3F
triadic
#2C313F #3F2C31 #313F2C
tetradic
#2C313F #3F2C3A #3F3A2C #2C3F30
square
#2C313F #3F2C3A #3F3A2C #2C3F30
split-complementary
#2C313F #3F302C #3A3F2C
monochromatic
#0D0E12 #13151B #2C313F #454D63 #5E6987

Accessibility & contrast

On white

12.98
#2C313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C313F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C313F#FFFFFF#000000##FFFFFF
##2C313F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3240
Deuteranopia (green-blind)
#2B303F
Tritanopia (blue-blind)
#273436
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c313f;
/* rgb */ color: rgb(44, 49, 63);
/* oklch */ color: oklch(31.4% 0.026 269.5);
Tailwind
colors: {
  custom: {
    50: '#656974',
    500: '#2c313f',
    950: '#000000',
  },
}
SCSS
$custom: #2c313f;
$custom-light: #656974;
$custom-dark: #000000;
JSON
{
  "hex": "#2c313f",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 224.211,
    "s": 17.757,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3144,
    "c": 0.0261,
    "h": 269.5
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#2C313F
secondary
#706957
accent
#A66DBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2C313F

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

Preview Lab → · Contrast checker → · Palette generator →

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