#262A2C#262A2C

#262A2C is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.2% C 0.007 H 229.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#262A2C
RGBrgb(38, 42, 44)
HSLhsl(200, 7%, 16%)
HSVhsv(200, 14%, 17%)
CMYKcmyk(13.6%, 4.5%, 0%, 82.7%)
CIE-LABlab(16.75, -1.26, -1.91)
CIE-LCHlch(16.75, 2.29, 236.70°)
OKLaboklab(28.18% -0.0045 -0.0051)
OKLCHoklch(28.18% 0.007 229.1)
XYZxyz(2.0818, 2.2498, 2.7070)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A2C #2C2826
analogous
#262C2B #262A2C #26272C
triadic
#262A2C #2C262A #2A2C26
tetradic
#262A2C #2B262C #2C2826 #272C26
square
#262A2C #2B262C #2C2826 #272C26
split-complementary
#262A2C #2C2627 #2C2B26
monochromatic
#0E1010 #0E1010 #262A2C #42494D #5F696E

Accessibility & contrast

On white

14.48
#262A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#262A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A2C
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A2C#FFFFFF#000000##FFFFFF
##262A2C1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2C
Deuteranopia (green-blind)
#28292C
Tritanopia (blue-blind)
#242B2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262a2c;
/* rgb */ color: rgb(38, 42, 44);
/* oklch */ color: oklch(28.2% 0.007 229.1);
Tailwind
colors: {
  custom: {
    50: '#606365',
    500: '#262a2c',
    950: '#000000',
  },
}
SCSS
$custom: #262a2c;
$custom-light: #606365;
$custom-dark: #000000;
JSON
{
  "hex": "#262a2c",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 200,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28182,
    "c": 0.00681,
    "h": 229.1
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#262A2C
secondary
#5B5552
accent
#8A77B0
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#040505
muted
#79797A

Preview Lab

Preview with #262A2C

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

Preview Lab → · Contrast checker → · Palette generator →

#262A2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva