#2C313E#2C313E

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

Color values

HEX#2C313E
RGBrgb(44, 49, 62)
HSLhsl(223, 17%, 21%)
HSVhsv(223, 29%, 24%)
CMYKcmyk(29%, 21%, 0%, 75.7%)
CIE-LABlab(20.36, 1.40, -8.89)
CIE-LCHlch(20.36, 9.00, 278.93°)
OKLaboklab(31.39% -0.0006 -0.0244)
OKLCHoklch(31.39% 0.024 268.5)
XYZxyz(3.0063, 3.0798, 4.9926)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C313E #3E392C
analogous
#2C3A3E #2C313E #302C3E
triadic
#2C313E #3E2C31 #313E2C
tetradic
#2C313E #3E2C3A #3E392C #2C3E30
square
#2C313E #3E2C3A #3E392C #2C3E30
split-complementary
#2C313E #3E302C #3A3E2C
monochromatic
#0D0E12 #13151A #2C313E #454D62 #5F6A86

Accessibility & contrast

On white

13.00
#2C313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C313E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C313E#FFFFFF#000000##FFFFFF
##2C313E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D323F
Deuteranopia (green-blind)
#2C303E
Tritanopia (blue-blind)
#273435
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c313e;
/* rgb */ color: rgb(44, 49, 62);
/* oklch */ color: oklch(31.4% 0.024 268.5);
Tailwind
colors: {
  custom: {
    50: '#656973',
    500: '#2c313e',
    950: '#000000',
  },
}
SCSS
$custom: #2c313e;
$custom-light: #656973;
$custom-dark: #000000;
JSON
{
  "hex": "#2c313e",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 223.333,
    "s": 16.981,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31392,
    "c": 0.02438,
    "h": 268.5
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2C313E
secondary
#6F6857
accent
#A56EBA
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2C313E

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

Preview Lab → · Contrast checker → · Palette generator →

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