#0B311F#0B311F

#0B311F is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.1% C 0.054 H 159.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0B311F
RGBrgb(11, 49, 31)
HSLhsl(152, 63%, 12%)
HSVhsv(152, 78%, 19%)
CMYKcmyk(77.6%, 0%, 36.7%, 80.8%)
CIE-LABlab(17.30, -18.60, 7.68)
CIE-LCHlch(17.30, 20.12, 157.55°)
OKLaboklab(28.06% -0.0507 0.0195)
OKLCHoklch(28.06% 0.054 159)
XYZxyz(1.4835, 2.3665, 1.6747)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B311F #310B1D
analogous
#0B310C #0B311F #0B3031
triadic
#0B311F #1F0B31 #311F0B
tetradic
#0B311F #0C0B31 #310B1D #30310B
square
#0B311F #0C0B31 #310B1D #30310B
split-complementary
#0B311F #310B30 #310C0B
monochromatic
#061910 #061910 #0B311F #16633F #21955E

Accessibility & contrast

On white

14.25
#0B311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0B311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B311F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B311F#FFFFFF#000000##FFFFFF
##0B311F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1E
Deuteranopia (green-blind)
#2B2920
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0b311f;
/* rgb */ color: rgb(11, 49, 31);
/* oklch */ color: oklch(28.1% 0.054 159.0);
Tailwind
colors: {
  custom: {
    50: '#4f695a',
    500: '#0b311f',
    950: '#000000',
  },
}
SCSS
$custom: #0b311f;
$custom-light: #4f695a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b311f",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 151.579,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28064,
    "c": 0.0543,
    "h": 159
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#0B311F
secondary
#6E2A4A
accent
#4190E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B311F

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

Preview Lab → · Contrast checker → · Palette generator →

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