#282F2E#282F2E

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

Color values

HEX#282F2E
RGBrgb(40, 47, 46)
HSLhsl(171, 8%, 17%)
HSVhsv(171, 15%, 18%)
CMYKcmyk(14.9%, 0%, 2.1%, 81.6%)
CIE-LABlab(18.72, -3.28, -0.38)
CIE-LCHlch(18.72, 3.30, 186.68°)
OKLaboklab(29.81% -0.0098 -0.0011)
OKLCHoklch(29.81% 0.01 186.3)
XYZxyz(2.3846, 2.6814, 2.9762)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F2E #2F2829
analogous
#282F2B #282F2E #282D2F
triadic
#282F2E #2E282F #2F2E28
tetradic
#282F2E #2B282F #2F2829 #2D2F28
square
#282F2E #2B282F #2F2829 #2D2F28
split-complementary
#282F2E #2F282D #2F2B28
monochromatic
#0E1110 #0E1110 #282F2E #44504E #60716F

Accessibility & contrast

On white

13.67
#282F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F2E
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F2E#FFFFFF#000000##FFFFFF
##282F2E1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#2D2D2E
Tritanopia (blue-blind)
#262F2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282f2e;
/* rgb */ color: rgb(40, 47, 46);
/* oklch */ color: oklch(29.8% 0.010 186.3);
Tailwind
colors: {
  custom: {
    50: '#616766',
    500: '#282f2e',
    950: '#000000',
  },
}
SCSS
$custom: #282f2e;
$custom-light: #616766;
$custom-dark: #000000;
JSON
{
  "hex": "#282f2e",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 171.429,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.0099,
    "h": 186.3
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#282F2E
secondary
#5E5456
accent
#777FB1
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #282F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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