#282F2F#282F2F

#282F2F is a dark, near-neutral teal. Relative luminance 0.027; OKLCH L 29.8% C 0.010 H 196.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#282F2F
RGBrgb(40, 47, 47)
HSLhsl(180, 8%, 17%)
HSVhsv(180, 15%, 18%)
CMYKcmyk(14.9%, 0%, 0%, 81.6%)
CIE-LABlab(18.75, -3.02, -1.03)
CIE-LCHlch(18.75, 3.19, 198.76°)
OKLaboklab(29.85% -0.0093 -0.0028)
OKLCHoklch(29.85% 0.01 196.7)
XYZxyz(2.4046, 2.6893, 3.0812)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F2F #2F2828
analogous
#282F2C #282F2F #282C2F
triadic
#282F2F #2F282F #2F2F28
tetradic
#282F2F #2C282F #2F2828 #2C2F28
square
#282F2F #2C282F #2F2828 #2C2F28
split-complementary
#282F2F #2F282C #2F2C28
monochromatic
#0E1111 #0E1111 #282F2F #445050 #607171

Accessibility & contrast

On white

13.66
#282F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F2F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F2F#FFFFFF#000000##FFFFFF
##282F2F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2F
Deuteranopia (green-blind)
#2D2D2F
Tritanopia (blue-blind)
#26302F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282f2f;
/* rgb */ color: rgb(40, 47, 47);
/* oklch */ color: oklch(29.8% 0.010 196.7);
Tailwind
colors: {
  custom: {
    50: '#626767',
    500: '#282f2f',
    950: '#000000',
  },
}
SCSS
$custom: #282f2f;
$custom-light: #626767;
$custom-dark: #000000;
JSON
{
  "hex": "#282f2f",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 180,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.00973,
    "h": 196.7
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#282F2F
secondary
#5E5454
accent
#7777B1
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #282F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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