#0B271A#0B271A

#0B271A is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.7% C 0.042 H 160.7°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#0B271A
RGBrgb(11, 39, 26)
HSLhsl(152, 56%, 10%)
HSVhsv(152, 72%, 15%)
CMYKcmyk(71.8%, 0%, 33.3%, 84.7%)
CIE-LABlab(13.21, -14.55, 5.49)
CIE-LCHlch(13.21, 15.55, 159.34°)
OKLaboklab(24.67% -0.04 0.014)
OKLCHoklch(24.67% 0.042 160.7)
XYZxyz(1.0499, 1.5967, 1.2299)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B271A #270B18
analogous
#0B270C #0B271A #0B2627
triadic
#0B271A #1A0B27 #271A0B
tetradic
#0B271A #0C0B27 #270B18 #26270B
square
#0B271A #0C0B27 #270B18 #26270B
split-complementary
#0B271A #270B26 #270C0B
monochromatic
#071810 #071810 #0B271A #18573A #26865A

Accessibility & contrast

On white

15.92
#0B271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0B271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B271A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B271A#FFFFFF#000000##FFFFFF
##0B271A1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262419
Deuteranopia (green-blind)
#22211B
Tritanopia (blue-blind)
#032723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b271a;
/* rgb */ color: rgb(11, 39, 26);
/* oklch */ color: oklch(24.7% 0.042 160.7);
Tailwind
colors: {
  custom: {
    50: '#4d6156',
    500: '#0b271a',
    950: '#000000',
  },
}
SCSS
$custom: #0b271a;
$custom-light: #4d6156;
$custom-dark: #000000;
JSON
{
  "hex": "#0b271a",
  "rgb": {
    "r": 11,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 152.143,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2467,
    "c": 0.04235,
    "h": 160.7
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#0B271A
secondary
#632B45
accent
#498FDF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0B271A

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

Preview Lab → · Contrast checker → · Palette generator →

#0B271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva