#0B271C#0B271C

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

Color values

HEX#0B271C
RGBrgb(11, 39, 28)
HSLhsl(156, 56%, 10%)
HSVhsv(156, 72%, 15%)
CMYKcmyk(71.8%, 0%, 28.2%, 84.7%)
CIE-LABlab(13.27, -13.98, 4.15)
CIE-LCHlch(13.27, 14.58, 163.48°)
OKLaboklab(24.73% -0.0387 0.0106)
OKLCHoklch(24.73% 0.04 164.7)
XYZxyz(1.0730, 1.6059, 1.3518)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B271C #270B16
analogous
#0B270E #0B271C #0B2427
triadic
#0B271C #1C0B27 #271C0B
tetradic
#0B271C #0E0B27 #270B16 #24270B
square
#0B271C #0E0B27 #270B16 #24270B
split-complementary
#0B271C #270B24 #270E0B
monochromatic
#071811 #071811 #0B271C #18573E #268661

Accessibility & contrast

On white

15.89
#0B271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B271C
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B271C#FFFFFF#000000##FFFFFF
##0B271C1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#22211D
Tritanopia (blue-blind)
#022724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b271c;
/* rgb */ color: rgb(11, 39, 28);
/* oklch */ color: oklch(24.7% 0.040 164.7);
Tailwind
colors: {
  custom: {
    50: '#4d6158',
    500: '#0b271c',
    950: '#000000',
  },
}
SCSS
$custom: #0b271c;
$custom-light: #4d6158;
$custom-dark: #000000;
JSON
{
  "hex": "#0b271c",
  "rgb": {
    "r": 11,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 156.429,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.24734,
    "c": 0.04018,
    "h": 164.7
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#0B271C
secondary
#632B41
accent
#4984DF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0B271C

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

Preview Lab → · Contrast checker → · Palette generator →

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