#262A2B#262A2B

#262A2B is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.1% C 0.006 H 214.4°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#262A2B
RGBrgb(38, 42, 43)
HSLhsl(192, 6%, 16%)
HSVhsv(192, 12%, 17%)
CMYKcmyk(11.6%, 2.3%, 0%, 83.1%)
CIE-LABlab(16.71, -1.52, -1.26)
CIE-LCHlch(16.71, 1.97, 219.73°)
OKLaboklab(28.14% -0.005 -0.0034)
OKLCHoklch(28.14% 0.006 214.4)
XYZxyz(2.0632, 2.2424, 2.6092)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A2B #2B2726
analogous
#262B29 #262A2B #26272B
triadic
#262A2B #2B262A #2A2B26
tetradic
#262A2B #29262B #2B2726 #272B26
square
#262A2B #29262B #2B2726 #272B26
split-complementary
#262A2B #2B2627 #2B2926
monochromatic
#0E1010 #0E1010 #262A2B #434A4B #5F696C

Accessibility & contrast

On white

14.50
#262A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A2B
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A2B#FFFFFF#000000##FFFFFF
##262A2B1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2B
Deuteranopia (green-blind)
#28292B
Tritanopia (blue-blind)
#252A2A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262a2b;
/* rgb */ color: rgb(38, 42, 43);
/* oklch */ color: oklch(28.1% 0.006 214.4);
Tailwind
colors: {
  custom: {
    50: '#606364',
    500: '#262a2b',
    950: '#000000',
  },
}
SCSS
$custom: #262a2b;
$custom-light: #606364;
$custom-dark: #000000;
JSON
{
  "hex": "#262a2b",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 192,
    "s": 6.173,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28141,
    "c": 0.00601,
    "h": 214.4
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#262A2B
secondary
#5A5453
accent
#8379AF
background
#F5F5F5
surface
#E9EAEA
border
#C5C6C6
text
#040505
muted
#797979

Preview Lab

Preview with #262A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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