#282B2E#282B2E

#282B2E is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.7% C 0.007 H 248.1°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#282B2E
RGBrgb(40, 43, 46)
HSLhsl(210, 7%, 17%)
HSVhsv(210, 13%, 18%)
CMYKcmyk(13%, 6.5%, 0%, 82%)
CIE-LABlab(17.35, -0.56, -2.40)
CIE-LCHlch(17.35, 2.47, 256.82°)
OKLaboklab(28.73% -0.0026 -0.0065)
OKLCHoklch(28.73% 0.007 248.1)
XYZxyz(2.2320, 2.3761, 2.9253)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B2E #2E2B28
analogous
#282E2E #282B2E #28282E
triadic
#282B2E #2E282B #2B2E28
tetradic
#282B2E #2E282E #2E2B28 #282E28
square
#282B2E #2E282E #2E2B28 #282E28
split-complementary
#282B2E #2E2828 #2E2E28
monochromatic
#0E0F10 #0E0F10 #282B2E #444A4F #61686F

Accessibility & contrast

On white

14.24
#282B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B2E
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B2E#FFFFFF#000000##FFFFFF
##282B2E1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#292A2E
Tritanopia (blue-blind)
#272C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282b2e;
/* rgb */ color: rgb(40, 43, 46);
/* oklch */ color: oklch(28.7% 0.007 248.1);
Tailwind
colors: {
  custom: {
    50: '#616466',
    500: '#282b2e',
    950: '#000000',
  },
}
SCSS
$custom: #282b2e;
$custom-light: #616466;
$custom-dark: #000000;
JSON
{
  "hex": "#282b2e",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 210,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.00696,
    "h": 248.1
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#282B2E
secondary
#5D5955
accent
#9478B0
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #282B2E

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

Preview Lab → · Contrast checker → · Palette generator →

#282B2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva