#0B271F#0B271F

#0B271F is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.8% C 0.037 H 171.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0B271F
RGBrgb(11, 39, 31)
HSLhsl(163, 56%, 10%)
HSVhsv(163, 72%, 15%)
CMYKcmyk(71.8%, 0%, 20.5%, 84.7%)
CIE-LABlab(13.36, -13.08, 2.14)
CIE-LCHlch(13.36, 13.25, 170.70°)
OKLaboklab(24.84% -0.0369 0.0055)
OKLCHoklch(24.84% 0.037 171.6)
XYZxyz(1.1107, 1.6210, 1.5504)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B271F #270B13
analogous
#0B2711 #0B271F #0B2127
triadic
#0B271F #1F0B27 #271F0B
tetradic
#0B271F #110B27 #270B13 #21270B
square
#0B271F #110B27 #270B13 #21270B
split-complementary
#0B271F #270B21 #27110B
monochromatic
#071813 #071813 #0B271F #185745 #26866B

Accessibility & contrast

On white

15.86
#0B271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B271F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B271F#FFFFFF#000000##FFFFFF
##0B271F1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241F
Deuteranopia (green-blind)
#212120
Tritanopia (blue-blind)
#012725
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b271f;
/* rgb */ color: rgb(11, 39, 31);
/* oklch */ color: oklch(24.8% 0.037 171.6);
Tailwind
colors: {
  custom: {
    50: '#4d615a',
    500: '#0b271f',
    950: '#000000',
  },
}
SCSS
$custom: #0b271f;
$custom-light: #4d615a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b271f",
  "rgb": {
    "r": 11,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 162.857,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.24839,
    "c": 0.03733,
    "h": 171.6
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#0B271F
secondary
#632B3B
accent
#4974DF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0B271F

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

Preview Lab → · Contrast checker → · Palette generator →

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