#262B2B#262B2B

#262B2B is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.4% C 0.007 H 196.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#262B2B
RGBrgb(38, 43, 43)
HSLhsl(180, 6%, 16%)
HSVhsv(180, 12%, 17%)
CMYKcmyk(11.6%, 0%, 0%, 83.1%)
CIE-LABlab(17.06, -2.20, -0.75)
CIE-LCHlch(17.06, 2.33, 198.91°)
OKLaboklab(28.41% -0.0068 -0.002)
OKLCHoklch(28.41% 0.007 196.8)
XYZxyz(2.0992, 2.3142, 2.6211)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B2B #2B2626
analogous
#262B28 #262B2B #26282B
triadic
#262B2B #2B262B #2B2B26
tetradic
#262B2B #28262B #2B2626 #282B26
square
#262B2B #28262B #2B2626 #282B26
split-complementary
#262B2B #2B2628 #2B2826
monochromatic
#0E1010 #0E1010 #262B2B #434B4B #5F6C6C

Accessibility & contrast

On white

14.36
#262B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#262B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B2B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B2B#FFFFFF#000000##FFFFFF
##262B2B1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2B
Deuteranopia (green-blind)
#292A2B
Tritanopia (blue-blind)
#252B2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262b2b;
/* rgb */ color: rgb(38, 43, 43);
/* oklch */ color: oklch(28.4% 0.007 196.8);
Tailwind
colors: {
  custom: {
    50: '#606464',
    500: '#262b2b',
    950: '#000000',
  },
}
SCSS
$custom: #262b2b;
$custom-light: #606464;
$custom-dark: #000000;
JSON
{
  "hex": "#262b2b",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 180,
    "s": 6.173,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28414,
    "c": 0.00709,
    "h": 196.8
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#262B2B
secondary
#5A5353
accent
#7979AF
background
#F5F5F5
surface
#E9EAEA
border
#C5C6C6
text
#040505
muted
#797979

Preview Lab

Preview with #262B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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