#0B312B#0B312B

#0B312B is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.5% C 0.044 H 180.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#0B312B
RGBrgb(11, 49, 43)
HSLhsl(171, 63%, 12%)
HSVhsv(171, 78%, 19%)
CMYKcmyk(77.6%, 0%, 12.2%, 80.8%)
CIE-LABlab(17.65, -15.02, -0.07)
CIE-LCHlch(17.65, 15.02, 180.26°)
OKLaboklab(28.47% -0.0436 -0.0004)
OKLCHoklch(28.47% 0.044 180.6)
XYZxyz(1.6722, 2.4420, 2.6683)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B312B #310B11
analogous
#0B3118 #0B312B #0B2431
triadic
#0B312B #2B0B31 #312B0B
tetradic
#0B312B #180B31 #310B11 #24310B
square
#0B312B #180B31 #310B11 #24310B
split-complementary
#0B312B #310B24 #31180B
monochromatic
#061916 #061916 #0B312B #166357 #219583

Accessibility & contrast

On white

14.11
#0B312B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0B312B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B312B
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B312B#FFFFFF#000000##FFFFFF
##0B312B1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2B
Deuteranopia (green-blind)
#292A2C
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0b312b;
/* rgb */ color: rgb(11, 49, 43);
/* oklch */ color: oklch(28.5% 0.044 180.6);
Tailwind
colors: {
  custom: {
    50: '#506964',
    500: '#0b312b',
    950: '#000000',
  },
}
SCSS
$custom: #0b312b;
$custom-light: #506964;
$custom-dark: #000000;
JSON
{
  "hex": "#0b312b",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 170.526,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28466,
    "c": 0.04361,
    "h": 180.6
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#0B312B
secondary
#6E2A35
accent
#415BE6
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0B312B

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

Preview Lab → · Contrast checker → · Palette generator →

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