#0B311E#0B311E

#0B311E is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.0% C 0.055 H 157.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#0B311E
RGBrgb(11, 49, 30)
HSLhsl(150, 63%, 12%)
HSVhsv(150, 78%, 19%)
CMYKcmyk(77.6%, 0%, 38.8%, 80.8%)
CIE-LABlab(17.28, -18.86, 8.33)
CIE-LCHlch(17.28, 20.62, 156.18°)
OKLaboklab(28.04% -0.0513 0.0211)
OKLCHoklch(28.04% 0.055 157.7)
XYZxyz(1.4705, 2.3614, 1.6063)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B311E #310B1E
analogous
#0B310B #0B311E #0B3131
triadic
#0B311E #1E0B31 #311E0B
tetradic
#0B311E #0B0B31 #310B1E #31310B
square
#0B311E #0B0B31 #310B1E #31310B
split-complementary
#0B311E #310B31 #310B0B
monochromatic
#06190F #06190F #0B311E #16633D #21955B

Accessibility & contrast

On white

14.26
#0B311E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B311E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B311E#FFFFFF#000000##FFFFFF
##0B311E1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1D
Deuteranopia (green-blind)
#2C291F
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b311e;
/* rgb */ color: rgb(11, 49, 30);
/* oklch */ color: oklch(28.0% 0.055 157.7);
Tailwind
colors: {
  custom: {
    50: '#4f6959',
    500: '#0b311e',
    950: '#000000',
  },
}
SCSS
$custom: #0b311e;
$custom-light: #4f6959;
$custom-dark: #000000;
JSON
{
  "hex": "#0b311e",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 150,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28036,
    "c": 0.05543,
    "h": 157.7
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#0B311E
secondary
#6E2A4C
accent
#4194E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B311E

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

Preview Lab → · Contrast checker → · Palette generator →

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