#262A28#262A28

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

Color values

HEX#262A28
RGBrgb(38, 42, 40)
HSLhsl(150, 5%, 16%)
HSVhsv(150, 10%, 16%)
CMYKcmyk(9.5%, 0%, 4.8%, 83.5%)
CIE-LABlab(16.61, -2.28, 0.70)
CIE-LCHlch(16.61, 2.38, 163.03°)
OKLaboklab(28.03% -0.0065 0.0018)
OKLCHoklch(28.03% 0.007 164.5)
XYZxyz(2.0102, 2.2212, 2.3299)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A28 #2A2628
analogous
#262A26 #262A28 #262A2A
triadic
#262A28 #28262A #2A2826
tetradic
#262A28 #26262A #2A2628 #2A2A26
square
#262A28 #26262A #2A2628 #2A2A26
split-complementary
#262A28 #2A262A #2A2626
monochromatic
#0F100F #0F100F #262A28 #434A47 #606A65

Accessibility & contrast

On white

14.54
#262A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#262A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A28
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A28#FFFFFF#000000##FFFFFF
##262A281.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2928
Deuteranopia (green-blind)
#292928
Tritanopia (blue-blind)
#252A29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262a28;
/* rgb */ color: rgb(38, 42, 40);
/* oklch */ color: oklch(28.0% 0.007 164.5);
Tailwind
colors: {
  custom: {
    50: '#606361',
    500: '#262a28',
    950: '#000000',
  },
}
SCSS
$custom: #262a28;
$custom-light: #606361;
$custom-dark: #000000;
JSON
{
  "hex": "#262a28",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 150,
    "s": 5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28025,
    "c": 0.00676,
    "h": 164.5
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#262A28
secondary
#595356
accent
#7A94AE
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#040505
muted
#797979

Preview Lab

Preview with #262A28

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

Preview Lab → · Contrast checker → · Palette generator →

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