#2C303A#2C303A

#2C303A is a dark, near-neutral blue. Relative luminance 0.030; OKLCH L 30.9% C 0.019 H 268.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2C303A
RGBrgb(44, 48, 58)
HSLhsl(223, 14%, 20%)
HSVhsv(223, 24%, 23%)
CMYKcmyk(24.1%, 17.2%, 0%, 77.3%)
CIE-LABlab(19.86, 0.93, -6.91)
CIE-LCHlch(19.86, 6.98, 277.62°)
OKLaboklab(30.95% -0.0006 -0.0188)
OKLCHoklch(30.95% 0.019 268.1)
XYZxyz(2.8592, 2.9548, 4.4219)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C303A #3A362C
analogous
#2C373A #2C303A #2F2C3A
triadic
#2C303A #3A2C30 #303A2C
tetradic
#2C303A #3A2C37 #3A362C #2C3A2F
square
#2C303A #3A2C37 #3A362C #2C3A2F
split-complementary
#2C303A #3A2F2C #373A2C
monochromatic
#0D0E11 #121317 #2C303A #464D5D #616A80

Accessibility & contrast

On white

13.20
#2C303A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2C303A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C303A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C303A#FFFFFF#000000##FFFFFF
##2C303A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D313A
Deuteranopia (green-blind)
#2C2F3A
Tritanopia (blue-blind)
#293233
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c303a;
/* rgb */ color: rgb(44, 48, 58);
/* oklch */ color: oklch(30.9% 0.019 268.1);
Tailwind
colors: {
  custom: {
    50: '#656870',
    500: '#2c303a',
    950: '#000000',
  },
}
SCSS
$custom: #2c303a;
$custom-light: #656870;
$custom-dark: #000000;
JSON
{
  "hex": "#2c303a",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 222.857,
    "s": 13.725,
    "l": 20
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.01885,
    "h": 268.1
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#2C303A
secondary
#6A6558
accent
#A371B7
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050607
muted
#7A7A7A

Preview Lab

Preview with #2C303A

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

Preview Lab → · Contrast checker → · Palette generator →

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