#2C303E#2C303E

#2C303E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.026 H 272.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2C303E
RGBrgb(44, 48, 62)
HSLhsl(227, 17%, 21%)
HSVhsv(227, 29%, 24%)
CMYKcmyk(29%, 22.6%, 0%, 75.7%)
CIE-LABlab(20.03, 2.08, -9.39)
CIE-LCHlch(20.03, 9.62, 282.51°)
OKLaboklab(31.14% 0.0011 -0.0258)
OKLCHoklch(31.14% 0.026 272.4)
XYZxyz(2.9649, 2.9971, 4.9788)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C303E #3E3A2C
analogous
#2C393E #2C303E #312C3E
triadic
#2C303E #3E2C30 #303E2C
tetradic
#2C303E #3E2C39 #3E3A2C #2C3E31
square
#2C303E #3E2C39 #3E3A2C #2C3E31
split-complementary
#2C303E #3E312C #393E2C
monochromatic
#0D0E12 #13141A #2C303E #454C62 #5F6786

Accessibility & contrast

On white

13.13
#2C303E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C303E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C303E#FFFFFF#000000##FFFFFF
##2C303E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C313F
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#273335
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c303e;
/* rgb */ color: rgb(44, 48, 62);
/* oklch */ color: oklch(31.1% 0.026 272.4);
Tailwind
colors: {
  custom: {
    50: '#656873',
    500: '#2c303e',
    950: '#000000',
  },
}
SCSS
$custom: #2c303e;
$custom-light: #656873;
$custom-dark: #000000;
JSON
{
  "hex": "#2c303e",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 226.667,
    "s": 16.981,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31135,
    "c": 0.02579,
    "h": 272.4
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#2C303E
secondary
#6F6957
accent
#A96EBA
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2C303E

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

Preview Lab → · Contrast checker → · Palette generator →

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